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

Method ~StatementIterator

src/objects/statement-iterator.cpp:20–20  ·  view source on GitHub ↗

The ~Statement destructor currently covers any state this object creates. Additionally, we actually DON'T want to revert stmt->locked or db_state ->iterators in this destructor, to ensure deterministic database access.

Source from the content-addressed store, hash-verified

18// Additionally, we actually DON'T want to revert stmt->locked or db_state
19// ->iterators in this destructor, to ensure deterministic database access.
20StatementIterator::~StatementIterator() {}
21
22Napi::Value StatementIterator::Next(Napi::Env env) {
23 assert(alive == true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected