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

Method AddStatement

src/objects/database.hpp:36–36  ·  view source on GitHub ↗

Allow Statements to manage themselves when created and garbage collected.

Source from the content-addressed store, hash-verified

34
35 // Allow Statements to manage themselves when created and garbage collected.
36 inline void AddStatement(Statement* stmt) { stmts.insert(stmts.end(), stmt); }
37 inline void RemoveStatement(Statement* stmt) { stmts.erase(stmt); }
38
39 // Allow Backups to manage themselves when created and garbage collected.

Callers 1

NODE_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected