box_generator 0.3.6 copy "box_generator: ^0.3.6" to clipboard
box_generator: ^0.3.6 copied to clipboard

Registry generator for Box, a fluent Dart persistence API inspired by SQL.

0.3.6 Named tables #

  • ✅ Set the name of the table/collection to persist to using @Entity(name)
  • ✅ Do not persist static or private fields

0.3.5+1 Static fromJson #

  • ✅ Support static fromJson next to factory constructors

0.3.5 Transient #

  • ✅ Do not persist transient fields

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)
0
likes
60
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

Registry generator for Box, a fluent Dart persistence API inspired by SQL.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, box, build, source_gen

More

Packages that depend on box_generator