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

Method RowBuilder

src/util/row-builder.cpp:1–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1RowBuilder::RowBuilder(
2 Napi::Env env,
3 Napi::Function row_factory,
4 Napi::Function array_factory
5) :
6 row_factory(Napi::Persistent(row_factory)),
7 array_factory(Napi::Persistent(array_factory)),
8 column_count(-1),
9 reprepare_count(-1) {}
10
11Napi::Value RowBuilder::GetRowJS(Napi::Env env, sqlite3_stmt* handle, bool safe_ints) {
12 int current_reprepare_count = sqlite3_stmt_status(handle, SQLITE_STMTSTATUS_REPREPARE, false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected