deno.com

interface DatabaseSyncOptions

Properties #

#open: boolean | undefined
optional

If true, the database is opened by the constructor. When this value is false, the database must be opened via the open() method.

#enableForeignKeyConstraints: boolean | undefined
optional

If true, foreign key constraints are enabled. This is recommended but can be disabled for compatibility with legacy database schemas. The enforcement of foreign key constraints can be enabled and disabled after opening the database using PRAGMA foreign_keys.

#enableDoubleQuotedStringLiterals: boolean | undefined
optional

If true, SQLite will accept double-quoted string literals. This is not recommended but can be enabled for compatibility with legacy database schemas.

#readOnly: boolean | undefined
optional

If true, the database is opened in read-only mode. If the database does not exist, opening it will fail.

#allowExtension: boolean | undefined
optional

If true, the loadExtension SQL function and the loadExtension() method are enabled. You can call enableLoadExtension(false) later to disable this feature.