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

Method Cleanup

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

Source from the content-addressed store, hash-verified

54}
55
56void StatementIterator::Cleanup() {
57 assert(alive == true);
58 alive = false;
59 stmt->locked = false;
60 db_state->iterators -= 1;
61 sqlite3_reset(handle);
62}
63
64INIT(StatementIterator::Init) {
65 return DefineClass(env, "StatementIterator", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected