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.