Optional ReadonlyallowIf true, allows binding named parameters without the prefix character. For example, allows using 'foo' instead of ':foo' or '$foo'.
Optional ReadonlyallowIf true, enables loading of SQLite extensions.
Optional ReadonlyallowIf true, unknown named parameters are ignored during binding. If false, an exception is thrown for unknown named parameters.
Optional ReadonlyenableIf 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 ReadonlyenableIf true, foreign key constraints are enforced.
Optional ReadonlylocationPath to the database file. Use ':memory:' for an in-memory database.
Optional ReadonlyopenIf true, the database is opened immediately. If false, the database is not opened until the first operation.
Optional ReadonlyreadIf true, SQLite integers are returned as JavaScript BigInt values. If false, integers are returned as JavaScript numbers.
Optional ReadonlyreadIf true, the database is opened in read-only mode.
Optional ReadonlyreturnIf true, query results are returned as arrays instead of objects.
Optional ReadonlytimeoutSets the busy timeout in milliseconds.
Configuration options for opening a database. This interface matches Node.js sqlite module's DatabaseSyncOptions.