*** 36,42 **** The first argument to sqlite3_declare_vtab() is the pointer to the sqlite database connection. The second argument is ! a '\000'-terminated UTF-8 string that contains a well-formed CREATE TABLE statement that defines the columns in the virtual table and their data types. The name of the table in this CREATE TABLE statement is ignored, as are all constraints. --- 36,42 ---- The first argument to sqlite3_declare_vtab() is the pointer to the sqlite database connection. The second argument is ! a zero-terminated UTF-8 string that contains a well-formed CREATE TABLE statement that defines the columns in the virtual table and their data types. The name of the table in this CREATE TABLE statement is ignored, as are all constraints. *************** *** 153,160 **** is. The xBestIndex function may have requested the values ! of certain expressions. Those values are passed in ! using the argc and argv parameters. After this method completes, the cursor should be left pointing at a row of virtual table. The xColumn and --- 153,162 ---- is. The xBestIndex function may have requested the values ! of certain expressions using the ! aConstraintUsage[].argvIndex values of the ! sqlite3_index_info structure. Those values are passed ! to xFilter using the argc and argv parameters. After this method completes, the cursor should be left pointing at a row of virtual table. The xColumn and *************** *** 181,192 **** The SQLite core invokes this method in order to find the value for the N-th column of the current row. N is zero-based so the first column is numbered 0. ! The xColumn method uses one of the sqlite3_result_AAAA() APIs to return the result. This method can invoke sqlite3_result_error() to raise an exception, if desired. ---- ! *xRowid int (*xRowid)(sqlite3_vtab_cursor*, sqlite_int64 *pRowid); --- 183,195 ---- The SQLite core invokes this method in order to find the value for the N-th column of the current row. N is zero-based so the first column is numbered 0. ! The xColumn method uses one of the ! {link: /capi3ref.html#sqlite3_result_blob sqlite3_result_*()} APIs to return the result. This method can invoke sqlite3_result_error() to raise an exception, if desired. ---- ! *xRowid* int (*xRowid)(sqlite3_vtab_cursor*, sqlite_int64 *pRowid);