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

Function NODE_GETTER

src/objects/database.cpp:424–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424NODE_GETTER(Database::JS_open) {
425 UNWRAP_OR_RETURN(Database, db, info.This());
426 return Napi::Boolean::New(info.Env(), db->open);
427}
428
429NODE_GETTER(Database::JS_inTransaction) {
430 UNWRAP_OR_RETURN(Database, db, info.This());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected