SQLiteDriver
Asynchronous SQLDelight driver on top of a SQLiteConnection provided by a backend module.
Parameters
start transactions with BEGIN IMMEDIATE instead of BEGIN TRANSACTION
extra connections to the same database file in WAL mode, SELECT queries outside a transaction go to the least busy one, everything else to connection; since 1.1.0
Constructors
Functions
Use for tests only.
Fire-and-forget: the database may still be open when this returns. Use closeSuspending to wait for the close to complete.
Closes the database and waits for completion; throws SQLiteJsException on failure. Idempotent, backends answer a second close with an error. A failed close (e.g. unfinalized statements in sqlite3) leaves the database open and can be retried.
Creates schema (if given) on this driver, used by backend modules' init functions.