entity 2.1.0+2
entity: ^2.1.0+2 copied to clipboard
A simple ORM for Relational and NoSQL database, such as Couchbase and PostgreSQL.
Changes #
2.1.0
bind_andread_added.oidPatternadded.
2.0.3
minifyNSadded.
2.0.1
- Merged 1.11.0
2.0.0
AccessReader.entitiesandAccessWriter.entitieswill return a list containing non-nullable items only.
1.11.0
SqlFlavor.deleteFlavoradded
1.10.1
Entity.toJson()returns a dynamic type, so the subclass can override with any type.
1.10.0
Entity.getDBType()added to override the default handling of a Dart object.
1.9.0+1
Access.cache()introduced, soaccess.load()will cache the result.Access.uncache()introduced, so an app can reload an entity
1.8.1
- The
optionsargument ofEntity.delete()can be any type.
1.8.0
Entity.delete()supports theoptionsargument.
1.7.0
- The type of the option argument of
loadIfAny_is changed toint
1.6.0
SqlFlavoradded for addingon conflict do nothingand others to INSERT and UPDATE SQL statements.
1.5.1
EntityimplementsComparable<Entity>
1.5.0+1
- We allow tilde (
~) to be used in OID
1.5.0
Entity.read()andEntity.write()acceptsMapinstead ofMap<String, dynamic>
0.9.3
Access.get()renamed toAccess.fetch()(avoid using keyword)
0.9.0
AccessWriter.entityMapandAccessReader.entityMapare removed.