ConfigurationScope

The full set of SQLite's configuration options, available only inside the configure block passed to ksqlite.kapi.SQLite.initialize, before SQLite is initialized. AnyTimeConfiguration exposes the smaller subset still changeable afterward.

Properties

Link copied to clipboard

Whether views may have a ROWID.

Link copied to clipboard
abstract val pageCacheHeaderSize: Int

Number of extra bytes SQLite reserves per page for the page cache the application supplies.

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 by deserializing a previously serialized one.

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

Sets the Logger that receives SQLite's internal log messages, or null to stop logging.

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, sz, and the maximum allowed mmap size limit, mx, for every connection opened from now on.

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 whether SQLite should avoid large memory allocations if possible.

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

Sets the SqlLogger that receives every connection's open, statement execution and close events for the rest of the SQLite session, or null to stop 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.