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

Function getBinding

test/10.database.open.js:127–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 expect(oldBinding).to.be.a('string');
126 fs.copyFileSync(oldBinding, newBinding);
127 const getBinding = db => db[Object.getOwnPropertySymbols(db)[0]].constructor;
128 let db1;
129 let db2;
130 let db3;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected