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

Method CustomFunction

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

Source from the content-addressed store, hash-verified

2public:
3
4 explicit CustomFunction(
5 Napi::Env env,
6 Database* db,
7 const char* name,
8 Napi::Function fn,
9 bool safe_ints
10 ) :
11 name(name),
12 db(db),
13 env(env),
14 fn(Napi::Persistent(fn)),
15 safe_ints(safe_ints) {}
16
17 virtual ~CustomFunction() {}
18

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected