MCPcopy Index your code
hub / github.com/nodejs/node / nextDb

Function nextDb

test/parallel/test-sqlite-backup.mjs:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15tmpdir.refresh();
16
17function nextDb() {
18 return join(tmpdir.path, `database-${cnt++}.db`);
19}
20
21function makeSourceDb(dbPath = ':memory:') {
22 const database = new DatabaseSync(dbPath);

Callers 3

test-sqlite.jsFile · 0.70

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…