box 0.3.7
box: ^0.3.7 copied to clipboard
A fluent Dart persistence API inspired by SQL that supports PostgreSQL, MongoDB, simple file and in-memory storage.
0.3.7 Named tables #
- ✅ Set the name of the table/collection to persist to using
@Entity(name)
- ✅ Do not persist static or private fields
0.3.6 Transient #
- ✅ Do not persist transient fields
0.3.5+1 Connection not yet open #
- ✅ Fix MongoDB
Error: Db is in the wrong state: State.OPENING
0.3.5 Granular updates #
- ✅ Support update().set() for MongoDB
0.3.4+1 Bugfix #
- ✅ Fix for MongoDbBox.store not updating
0.3.4 Dart 2.14 #
- ✅ Update to Dart 2.14
0.3.3+2 Latest versions #
- ✅ Update to latest versions of dependencies
0.3.3+1 Null safety fixes #
- ✅ Null safety fixes
0.3.3 Autoconvert #
- ✅ Convert types like enums and DateTime in MongoDB queries and deletes
- ✅ Null safety
0.3.2 Indexes #
- ✅ Create indexes for MongoDB and PostgreSQL
0.3.1+1 Return generated ID #
- ✅ Return generated ID
0.3.1 Delete #
- ✅ DELETE FROM
0.3.0+1 Latest versions #
- ✅ Bumped versions of dependencies
0.3.0 Easier mapping #
- ✅ Automatic toJson and fromJson
0.2.6 PostgreSQL #
- ✅ PostgreSQL support
0.2.5 ONE OF & CONTAINS #
- ✅ ONE OF (IN) predicate
- ✅ CONTAINS predicate for arrays
0.2.4 Firestore #
- ✅ Removed dependency on mirrors at runtime
- ✅ Firestore support
0.2.3 Limit & Offset #
- ✅ Limit
- ✅ Offset
- ✅ Select and map result
0.2.2 MongoDB #
- ✅ MongoDB support
- ✅ Deep queries
- ✅ Greater than (or equal)
- ✅ Less than (or equal)
- ✅ Between
- ✅ Dynamically typed queries
Backlog #
- ❌ Create indexes for memory, file and Firestore
- ❌ Group by
- ❌ Having
- ❌ Union
- ❌ Intersect
- ❌ Minus/Except
- ❌ Better test concern separation
- ❌ Misuse reporting
- ❌ Faster Firestore tests
- ❌ SQLite support
- ❌ MySQL support
- ❌ Emulate unsupported Firestore features
- ❌ Typesafe fields (eg:
select(employee.name).from(Employee).where(employee.department).equals('Sales')
) - ❌ Joins
- ❌ Support PostgreSQL arrays and complex types (depends on driver issue: postgresql-dart#121)