SQLite
A database driver for SQLite, implemented with connection pooling and transactional support. This class provides mechanisms to execute SQL queries, manage database connections, and handle transactions in a coroutine-based environment.
sqlite::memory:
| Open an in-memory database. sqlite:data.db
| Open the file data.db
in the current directory. sqlite://data.db
| Open the file data.db
in the current directory. sqlite:///data.db
| Open the file data.db
from the root (/
) directory. sqlite://data.db?mode=ro
| Open the file data.db
for read-only access.
Parameters
url
The URL string for connecting to the SQLite database.
options
Configuration options for the connection pool, such as minimum and maximum connections, timeout durations, etc.
Constructors
Types
Functions
Link copied to clipboard
open suspend fun fetchAll(statement: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard