A fluent Dart persistence API inspired by SQL. This library is still in an early phase of development. Currently Box has two implementations.
Support for various SQL and NoSQL databases is on the roadmap.
Box box = new Box.file('.box/test'); Stream<User> users = box.selectFrom(User) .where('name').like('C%') .orderBy('name').ascending() .list(); users.listen((user) => print(user.name)));
Add this to your package's pubspec.yaml file:
dependencies: box: ^0.0.14
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.1||Dec 5, 2018|
|0.1.0||Dec 5, 2018|
|0.0.14||Mar 27, 2016|
|0.0.13||Dec 1, 2015|
|0.0.12||Nov 26, 2015|
|0.0.11||Nov 25, 2015|
|0.0.9||Nov 25, 2015|
|0.0.7||Nov 24, 2015|
|0.0.6||Nov 24, 2015|
|0.0.5||Apr 21, 2015|