Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Declare The Schema Of A Virtual Table

int sqlite3_declare_vtab(sqlite3*, const char *zSQL);

Important: This interface is experimental and is subject to change without notice.

The xCreate and xConnect methods of a virtual table module call this interface to declare the format (the names and datatypes of the columns) of the virtual tables they implement.

See also lists of Objects, Constants, and Functions.