sqlbrite library

sqlbrite

Author: Petrus Nguyễn Thái Học

Github: https://github.com/hoc081098

  • RxDart Reactive stream sqflite(sqlite) for Flutter
  • Sqlbrite for flutter
  • A lightweight wrapper around sqflite which introduces reactive stream semantics to SQL operations.

Classes

AbstractBriteDatabaseExecutor
Wrap sqlite_api.DatabaseExecutor to implement BriteDatabaseExecutor
BriteDatabase
IBriteDatabase implementation [...]
BriteDatabaseExecutor
Common API for BriteDatabase and BriteTransaction to execute SQL commands.
IBriteBatch
A batch is used to perform multiple operation as a single atomic unit. A Batch object can be acquired by calling Database.batch. It provides methods for adding operation. None of the operation will be executed (or visible locally) until commit() is called.
IBriteDatabase
Database to send sql commands, created during openDatabase

Extensions

MapToListQueryStreamExtensions
Transform Query to list of values
MapToOneOrDefaultQueryStreamExtensions
Transform Query to single value
MapToOneQueryStreamExtensions
Transform Query to single value

Typedefs

Query() → Future<List<Map<String, dynamic>>>
Lazy query. [...]