Is there a way to configure WAL mode like we do for busyTimeout?
Yeah, it's pretty straightforward
const sqlite3 = require( 'sqlite3' );
const path = 'my/db/path.sqlite';
const database = new sqlite3.Database( path );
database.run( 'PRAGMA journal_mode = WAL;' );
Thanks for the example @kokarn - yep, that's how one would set WAL.
Most helpful comment
Yeah, it's pretty straightforward