seshat 0.1.2
seshat: ^0.1.2 copied to clipboard
Seshat ORM for pure Dart servers with a query builder, typed models, relationships, and migrations.
0.1.2 #
- Add the package banner and icon used by pub.flutter-io.cn and the public repository.
0.1.1 #
- Add the canonical runnable example entrypoint used by pub.flutter-io.cn.
0.1.0 #
Initial release.
-
Polymorphic relations:
morphTo,morphOne,morphMany,morphToMany, andmorphedByMany, with explicitMorphMapaliases and relation-owned writes (associate/dissociate/create,attach/detach/sync). -
Parameterized query builder: where family, joins, grouping, ordering, limits, aggregates,
pluck/value,paginate,chunk,lazy, insert/update/delete/increment/decrement/truncate,RawSqlescape hatch. -
Typed models with
ModelDefinition: fillable/guarded, casts, timestamps, dirty tracking,create/save/update/delete/refresh,firstOrCreate/updateOrCreate, model events. -
Relations:
hasOne,hasMany,belongsTo,belongsToMany(pivot columns,attach/detach/sync), eager loading with dot notation and constraints,whereHas/whereDoesntHave. -
Local scopes (extensions), named global scopes, soft deletes.
-
Transactions with savepoints on SQLite and PostgreSQL.
-
Schema builder, migrations, migrator, migration console.
-
Adapters: SQLite (
package:sqlite3) and PostgreSQL (package:postgres).