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

Method CloseHandles

src/objects/statement.cpp:27–32  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected