MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idxRegisterVtab

Function idxRegisterVtab

modules/dasSQLITE/sqlite/shell.c:10839–10868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10837}
10838
10839static int idxRegisterVtab(sqlite3expert *p){
10840 static sqlite3_module expertModule = {
10841 2, /* iVersion */
10842 expertConnect, /* xCreate - create a table */
10843 expertConnect, /* xConnect - connect to an existing table */
10844 expertBestIndex, /* xBestIndex - Determine search strategy */
10845 expertDisconnect, /* xDisconnect - Disconnect from a table */
10846 expertDisconnect, /* xDestroy - Drop a table */
10847 expertOpen, /* xOpen - open a cursor */
10848 expertClose, /* xClose - close a cursor */
10849 expertFilter, /* xFilter - configure scan constraints */
10850 expertNext, /* xNext - advance a cursor */
10851 expertEof, /* xEof */
10852 expertColumn, /* xColumn - read data */
10853 expertRowid, /* xRowid - read data */
10854 expertUpdate, /* xUpdate - write data */
10855 0, /* xBegin - begin transaction */
10856 0, /* xSync - sync transaction */
10857 0, /* xCommit - commit transaction */
10858 0, /* xRollback - rollback transaction */
10859 0, /* xFindFunction - function overloading */
10860 0, /* xRename - rename the table */
10861 0, /* xSavepoint */
10862 0, /* xRelease */
10863 0, /* xRollbackTo */
10864 0, /* xShadowName */
10865 };
10866
10867 return sqlite3_create_module(p->dbv, "expert", &expertModule, (void*)p);
10868}
10869/*
10870** End of virtual table implementation.
10871*************************************************************************/

Callers 1

idxCreateVtabSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected