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

Method CustomTable

src/util/custom-table.cpp:4–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2public:
3
4 explicit CustomTable(
5 Napi::Env env,
6 Database* db,
7 const char* name,
8 Napi::Function factory
9 ) :
10 addon(db->GetAddon()),
11 env(env),
12 db(db),
13 name(name),
14 factory(Napi::Persistent(factory)) {}
15
16 static void Destructor(void* self) {
17 delete static_cast<CustomTable*>(self);

Callers

nothing calls this directly

Calls 1

GetAddonMethod · 0.80

Tested by

no test coverage detected