vttp
An HTTP backed Virtual Table extension for SQLite
Loading...
Searching...
No Matches
request.h
1#pragma once
2#include "sql.h"
3#define VT_EMPTY_INFERENCE "vttp can't infer columns from an empty response. please try again later when the api is up or provide explicit columns yourself"
4int vt_validate_url(const char *url, char **error);
5/* A NULL document with SQLITE_OK represents an empty HTTP body. */
6int vt_request(const vt_config *cfg, yyjson_doc **doc, char **error);
7size_t vt_row_count(yyjson_doc *doc);
8yyjson_val *vt_row(yyjson_doc *doc, size_t index);
Definition fetch.h:15
Definition sql.h:22