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

Method ~StatementIterator

src/objects/statement-iterator.cpp:21–21  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected