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

Method CloseHandles

src/objects/statement.cpp:26–31  ·  view source on GitHub ↗

Whenever this is used, db->RemoveStatement must be invoked beforehand.

Source from the content-addressed store, hash-verified

24
25// Whenever this is used, db->RemoveStatement must be invoked beforehand.
26void Statement::CloseHandles() {
27 if (alive) {
28 alive = false;
29 sqlite3_finalize(handle);
30 }
31}
32
33// Returns the Statement's bind map (creates it upon first execution).
34BindMap& Statement::GetBindMap(Napi::Env env) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected