Package-level declarations
Types
Controls SQLDelight query invalidations (notifyListeners).
Fine tuning configuration for the driver. This is useful if we want to squeeze the last bit of performance out of the database. Or if we want to enable some SQLite specific features.
Provides an in-memory cache for in-memory databases.
Provides an in-memory cache for in-memory databases.
SqlDriver wrapper that can mute invalidations.
Dispatcher for database read operations. Limited to MAX_READ_PARALLELISM (32) concurrent reads to prevent SQLCipher connection pool exhaustion while maintaining good throughput.
Dispatcher for database write operations. Limited to MAX_WRITE_PARALLELISM (1) to serialize writes and aligning with SQLite's single-writer model.
Functions
Clears the in-memory database for the given user. This closes the database connection and removes it from the cache, causing SQLite to delete the shared in-memory database.
Creates a new instance of the GlobalDatabaseBuilder.
Creates an in-memory user database, or returns an existing one if it already exists.
Creates an in-memory user database, or returns an existing one if it already exists.
Creates a UserDatabaseBuilder for the given userId and passphrase