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

Function journalMode

test/parallel/test-sqlite-config.js:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8function checkDefensiveMode(db) {
9 function journalMode() {
10 return db.prepare('PRAGMA journal_mode').get().journal_mode;
11 }
12
13 assert.strictEqual(journalMode(), 'memory');
14 db.exec('PRAGMA journal_mode=OFF');

Callers 1

checkDefensiveModeFunction · 0.85

Calls 2

getMethod · 0.65
prepareMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…