Skip to content

ThatUdeshUK/reactive_sqflite

Repository files navigation

reactive_sqflite

Reactive wrapper around sqflite database. Supports both iOS and Android.

  • Support insert, delete, update and quering
  • Return queries as rxdart Observables
  • Get updates for queries on insertions, deletions and updates

Transaction and batch execution is not yet supported.

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  reactive_sqflite: any

For help getting started with Flutter, view the online documentation.

Usage

Import reactive_sqflite.dart

import 'package:reactive_sqflite/reactive_sqflite.dart';

Read sqflite and rxdart documentation for further reference,

Example

See the example directory for a sample.

Author

Udesh Kumarasinghe - UdeshUK on GitHub, ThatUdeshUK on Twitter

License

Apache 2.0. See the LICENSE file for details.