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

sqlite3_create_module()