DatabaseSyncOptions

sealed external interface DatabaseSyncOptions(source)

Properties

Link copied to clipboard

If true, allows binding named parameters without the prefix character (e.g., foo instead of :foo).

Link copied to clipboard
abstract var allowExtension: Boolean?

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

Link copied to clipboard

If true, unknown named parameters are ignored when binding. If false, an exception is thrown for unknown named parameters.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
abstract var open: Boolean?

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

Link copied to clipboard
abstract var readBigInts: Boolean?

If true, integer fields are read as JavaScript BigInt values. If false, integer fields are read as JavaScript numbers.

Link copied to clipboard
abstract var readOnly: Boolean?

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

Link copied to clipboard
abstract var returnArrays: Boolean?

If true, query results are returned as arrays instead of objects.

Link copied to clipboard
abstract var timeout: Double?

The busy timeout in milliseconds. This is the maximum amount of time that SQLite will wait for a database lock to be released before returning an error.