Optional
The mode to open the database connection with.
An integer flag that can be a combination of the following values:
This package exports each of these values
import { SqliteDialect, OPEN_CREATE, OPEN_READWRITE } from '@sequelize/sqlite3';new Sequelize({ dialect: SqliteDialect, storage: 'db.sqlite', mode: OPEN_CREATE | OPEN_READWRITE,}); Copy
import { SqliteDialect, OPEN_CREATE, OPEN_READWRITE } from '@sequelize/sqlite3';new Sequelize({ dialect: SqliteDialect, storage: 'db.sqlite', mode: OPEN_CREATE | OPEN_READWRITE,});
The "PRAGMA KEY" password to use for the connection.
Path to the SQLite database file
Special values:
Note: temporary databases require the pool to have the following configuration:
'sequelize.sqlite' in your current working directory Copy
'sequelize.sqlite' in your current working directory
The mode to open the database connection with.
An integer flag that can be a combination of the following values:
This package exports each of these values