sqlite_async library
Re-exports sqlite_async to expose sqlite_async without adding it as a direct dependency.
Classes
- DefaultSqliteOpenFactory
- The default database factory.
- IsolateConnectionFactory
- A connection factory that can be passed to different isolates.
- PlaceholderQueryFragment
- A query fragment that can be embedded in another query.
- SqliteConnection
- Abstract class representing a connection to the SQLite database.
- SqliteDatabase
- A SQLite database instance.
- SqliteDownMigration
- Set of down migration statements, persisted in the database.
- SqliteMigration
- A migration for a single database version.
- SqliteMigrations
- Migrations to initialize and update a database.
- SqliteOpenFactory
- Factory to create new SQLite database connections.
- SqliteOpenOptions
- SqliteOptions
- SqliteReadContext
- Abstract class representing calls available in a read-only or read-write context.
- SqliteWriteContext
- Abstract class representing calls available in a read-write context.
- UpdateNotification
- Notification of an update to one or more tables, for the purpose of realtime change notifications.
Enums
- SqliteJournalMode
- SQLite journal mode. Set on the primary connection. This library is written with WAL mode in mind - other modes may cause unexpected locking behavior.
- SqliteSynchronous
- SQLite file commit mode.
Mixins
- SqliteQueries
- Mixin to provide default query functionality.
Functions
-
quoteIdentifier(
String s) → String -
quoteJsonIndex(
int index) → String -
quoteJsonPath(
String path) → String -
quoteString(
String s) → String -
selectJsonColumnMap(
Map< Object, String> ? columnMap) → PlaceholderQueryFragment - Similar to selectJsonColumns, but allows specifying different output columns. This is useful for using on a List of Lists, instead of a List of Objects.
-
selectJsonColumns(
List< String> columns) → PlaceholderQueryFragment - Given a list of columns, return an expression extracting the columns from a list of JSON-encoded objects.
Typedefs
-
SqliteMigrationFunction
= FutureOr<
void> Function(SqliteWriteContext tx)