Name
sqlite3_declare_vtab() — Define the schema of a virtual table [EXP]
Definition
int sqlite3_declare_vtab( sqlite3* db, const char *sql );
-
db
A database connection.
-
sql
A UTF-8 encoded string that contains an appropriately formatted
CREATE TABLE
statement.- Returns
An SQLite result code.
Description
This function is used by a virtual table module to define the schema of the virtual table.
For more information on writing a virtual table module, see Chapter 10.
See Also
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.