utils/sql/sqllite library

Support for doing something awesome.

More dartdocs go here.

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 to version + 1.