MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / xCreate

Method xCreate

src/util/custom-table.cpp:100–102  ·  view source on GitHub ↗

Although this function does nothing, we cannot use xConnect directly, because that would cause SQLite to register an eponymous virtual table.

Source from the content-addressed store, hash-verified

98 // Although this function does nothing, we cannot use xConnect directly,
99 // because that would cause SQLite to register an eponymous virtual table.
100 static int xCreate(sqlite3* db_handle, void* _self, int argc, const char* const * argv, sqlite3_vtab** output, char** errOutput) {
101 return xConnect(db_handle, _self, argc, argv, output, errOutput);
102 }
103
104 // This method uses the factory function to instantiate a new virtual table.
105 static int xConnect(sqlite3* db_handle, void* _self, int argc, const char* const * argv, sqlite3_vtab** output, char** errOutput) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected