Optional
Readonly
allowIf true, allows binding named parameters without the prefix character. For example, allows using 'foo' instead of ':foo' or '$foo'.
Optional
Readonly
allowIf true, enables loading of SQLite extensions.
Optional
Readonly
allowIf true, unknown named parameters are ignored during binding. If false, an exception is thrown for unknown named parameters.
Optional
Readonly
enableIf true, double-quoted string literals are allowed.
If enabled, double quotes can be misinterpreted as identifiers instead of string literals, leading to confusing errors.
The SQLite documentation strongly recommends avoiding double-quoted strings entirely.
Optional
Readonly
enableIf true, foreign key constraints are enforced.
Optional
Readonly
locationPath to the database file. Use ':memory:' for an in-memory database.
Optional
Readonly
readIf true, SQLite integers are returned as JavaScript BigInt values. If false, integers are returned as JavaScript numbers.
Optional
Readonly
readIf true, the database is opened in read-only mode.
Optional
Readonly
returnIf true, query results are returned as arrays instead of objects.
Optional
Readonly
timeoutSets the busy timeout in milliseconds.
Configuration options for opening a database. This interface matches Node.js sqlite module's DatabaseSyncOptions.