DatabaseConnectionConfiguration

Exposes the database connection configuration API.

Database Connection Configuration Options

Properties

Link copied to clipboard

Whether the ability to include comments in SQL text is enabled.

Link copied to clipboard

Whether triggers are enabled.

Link copied to clipboard
abstract var areViewsEnabled: Boolean

Whether views are enabled.

Link copied to clipboard
abstract var floatingPointDigits: Int

Number of significant digits that SQLite will attempt to preserve when converting floating point numbers (IEEE 754 "doubles") into text.

Link copied to clipboard

Whether the ability of the ATTACH DATABASE SQL command to create a new database file if the database filed named in the ATTACH command does not already exist is enabled.

Link copied to clipboard

Whether the ability of the ATTACH DATABASE SQL command to open a database for writing is enabled.

Link copied to clipboard

Whether the checkpoint performed by SQLite before closing the connection and deleting the WAL file, after a dababase connection is closed or detached, is enabled.

Link copied to clipboard
abstract var isDefensive: Boolean

Whether the "defensive" flag for a database connection is activated.

Link copied to clipboard

Whether the llegacy double-quoted string literal misfeature is enabled for DDL statements, such as CREATE TABLE and CREATE INDEX.

Link copied to clipboard

Whether the legacy double-quoted string literal misfeature is enabled for DML statements only, that is DELETE, INSERT, SELECT, and UPDATE statements.

Link copied to clipboard

Whether the foreign key constraints are enabled.

Link copied to clipboard

Whether the fts3_tokenizer() function is enabled.

Link copied to clipboard

Whether the legacy behavior of the ALTER TABLE RENAME command such that it behaves as it did prior to version 3.24.0 (2018-06-04) is enabled.

Link copied to clipboard

Whether the legacy file format flag is activated.

Link copied to clipboard

Whether the sqlite3_load_extension() interface, independently of the load_extension() SQL function, is enabled.

Link copied to clipboard

Whether the query planner stability guarantee is enabled.

Link copied to clipboard

Whether the order in which tables and indexes are scanned are reversed so that the scans start at the end and work toward the beginning rather than starting at the beginning and working toward the end.

Link copied to clipboard

Whether the flag that enables collection of the sqlite3_stmt_scanstatus_v2() statistics is activated.

Link copied to clipboard

Whether the output of operations performed by trigger programs is included in the output of EXPLAIN QUERY PLAN commands.

Link copied to clipboard
abstract var isTrustedSchema: Boolean

Whether SQLite should assume that database schemas are untainted by malicious content.

Link copied to clipboard

Returns whether the "writable_schema" flag is activated.

Functions

Link copied to clipboard
abstract fun setMainDatabaseName(name: String)

Sets the name of the "main" database schema to name.

Link copied to clipboard
abstract fun setResetDatabaseEnabled(enabled: Boolean)

Enables of disables the database reset mode.