box 0.2.3 copy "box: ^0.2.3" to clipboard
box: ^0.2.3 copied to clipboard

outdated

A fluent Dart persistence API inspired by SQL

Dart Box #

A fluent Dart persistence API inspired by SQL. This library is still in an early phase of development. Currently Box has two implementations.

  • Box: a very simple implementation that runs completely in-memory.
  • FileBox: an in-memory implementation that persists data to a simple JSON file.

Support for various SQL and NoSQL databases is on the roadmap.

Example:

Box box = new FileBox('.box/test');
List<User> users = await box.selectFrom<User>()
                            .where('name').like('C%')
                            .orderBy('name').ascending()
                            .list();
users.forEach((user) => print(user.name)));
11
likes
0
pub points
63%
popularity

Publisher

unverified uploader

A fluent Dart persistence API inspired by SQL

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, firebase, inflection2, io, meta, mongo_dart, reflective

More

Packages that depend on box