utils/sql/sqllite library
Support for doing something awesome.
More dartdocs go here.
Classes
- AlterTableAddColumn
- AlterTableBuilder
- AlterTableDrop
- AlterTableRenameColumn
- AlterTableRenameTable
- AlterTableToken
-
DbTable<
KeyType> -
DbTableWithConverter<
KeyType, T> - InnerJoin
- Join
- Migration
- If the database is version then migrator will be called. And the database will be updated to the next version.
- OrderByClause
- PartialQuery
- A query without the values
- PrimaryKey
- Query
- QueryBuilder
- QueryExecutor
- QueryOperatorBuilder
- RowIdKey
- Schema
- SingleColumnKey
- SqlliteDatabase
- SqlliteSqlBuilder
- Statement
- https://sqlite.org/lang.html
- StatementAlterTable
- https://www.sqlite.org/syntaxdiagrams.html#alter-table-stmt
- StatementBuilder
-
Table<
KeyType> - Token
- WhereClause
- WhereClauseEquals
- WhereClauseIn
- WhereClauseIsNull
- WhereClauseLike
Enums
Extensions
- AlterTable on StatementBuilder
-
TryConverter
on Converter<
T> ?
Typedefs
-
Converter<
T> = ({T Function(RawData data) fromDb, RawData Function(T data) toDb}) -
Migrator
= Future<
void> Function(SqlliteDatabase db, int version) -
RawData
= Map<
String, Object?> - TableDelete = (Table, Query)
-
TableInsert
= (Table, Map<
String, Object?> , ConflictAlgorithm) -
TableUpdate
= (Table, Query, Map<
String, Object?> )
Exceptions / Errors
- MigrationMissingError
-
This means that the database does not know how to go from
version
toversion + 1
.