ConfigurationScope

Exposes SQLite configuration API.

Configurations Options

Properties

Link copied to clipboard

Whether the ability for VIEWs to have ROWIDs is activated.

Link copied to clipboard
abstract val pageCacheHeaderSize: Int

Number of extra bytes per page required for each page in SQLITE_CONFIG_PAGECACHE.

Functions

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

Enables or disables the use of covering indices for full table scans in the query optimizer.

Link copied to clipboard
abstract fun setInMemoryDatabaseMaxSize(maxSize: Long)

Sets the default maximum size for an in-memory database created using sqlite3_deserialize().

Link copied to clipboard
abstract fun setLogger(logger: Logger?)

Sets the logging interface.

Link copied to clipboard
abstract fun setLookasideConfig(sz: Int, cnt: Int)

Sets the default lookaside size.

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

Enables or disables the collection of memory allocation statistics.

Link copied to clipboard
abstract fun setMmapSize(sz: Long, mx: Long)

Sets the default mmap size limit a,d the maximum allowed mmap size limit.

Link copied to clipboard
abstract fun setMultiThread()

Sets the threading mode to Multi-thread.

Link copied to clipboard
abstract fun setPackedMemoryArraySize(szPma: UInt)

Sets the "Minimum PMA Size" for the multithreaded sorter to szPma.

Link copied to clipboard
abstract fun setSerialized()

Sets the threading mode to Serialized.

Link copied to clipboard
abstract fun setSingleThread()

Sets the threading mode to Single-thread.

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

Sets wheter SQLite should avoid large memory allocations if possible.

Link copied to clipboard
abstract fun setSqlLogger(logger: SqlLogger?)

Sets the logging interface for SQL logging.

Link copied to clipboard

Sets the statement journal spill-to-disk threshold.

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

Enables or disables global URI handling.