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

Method Cleanup

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected