Use automatic proxy for locking.
Create database if it doesn't exist.
Delete database file on close.
Open with exclusive access.
Open with full mutex.
Open main database file.
Open main journal file.
Open in-memory database.
Open without mutex.
Enable private cache mode.
Open database for reading only.
Open database for reading and writing.
Enable shared cache mode.
Open subjournal file.
Open super-journal file.
Open temporary database file.
Open temporary journal file.
Open transient in-memory database.
Interpret filename as URI.
Open WAL file.
SQLite database open flags.
Note: These constants are an extension beyond
node:sqlite. Thenode:sqlitemodule does not exportSQLITE_OPEN_*constants.See
https://sqlite.org/c3ref/open.html