PragmaCommand

interface PragmaCommand<T : Any>

Represents a SQLite PRAGMA command.

This interface defines the contract for interacting with a specific PRAGMA setting in a SQLite database. Each implementation corresponds to a particular PRAGMA, such as journal_mode or foreign_keys.

Type Parameters

T

The type of the value associated with the PRAGMA. This can be String, Int, Boolean, etc.

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun get(): T
Link copied to clipboard
abstract fun set(value: T)