Expand description
SQLite database management
Provides database instances, schema tracking, and query execution for protocols
Structs§
- Database
Connection - Database connection wrapper (single connection protected by Mutex)
- Database
Id - Unique identifier for a database instance
- Database
Instance - Database instance metadata and schema
- Database
Manager - Database manager (holds all database connections)
- Table
Schema - Table schema information
Enums§
- Database
Owner - Database owner (server or client)
- Query
Result - Result of a SQL query execution
Constants§
- MAX_
DATABASE_ NAME_ LEN - Longest accepted database name.
- MAX_
QUERY_ DURATION - MAX_
QUERY_ RESULT_ BYTES - MAX_
QUERY_ ROWS - Hard limits apply before copying query output into JSON.
- MAX_
QUERY_ SQL_ BYTES - MAX_
QUERY_ VALUE_ BYTES - MAX_
QUERY_ VM_ STEPS - Bound CPU work as well as output size (e.g. recursive CTEs with no output).
- MEMORY_
DATABASE_ PATH - Path value that marks an in-memory (non-file-backed) database.
Functions§
- database_
file_ path - The one filesystem location a file-backed database of this name may occupy.
- validate_
database_ name - Validate a database name supplied by the model.