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

Method xRowid

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

This method outputs the rowid of the cursor's current row.

Source from the content-addressed store, hash-verified

280
281 // This method outputs the rowid of the cursor's current row.
282 static int xRowid(sqlite3_vtab_cursor* cursor, sqlite_int64* output) {
283 *output = Cursor::Upcast(cursor)->rowid;
284 return SQLITE_OK;
285 }
286
287 // This method tells SQLite how to *plan* queries on our virtual table.
288 // It gets invoked (typically multiple times) during db.prepare().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected