seshat 0.1.2 copy "seshat: ^0.1.2" to clipboard
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, and morphedByMany, with explicit MorphMap aliases 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, RawSql escape 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).

0
likes
160
points
157
downloads

Documentation

API reference

Publisher

verified publishergaitco.com

Weekly Downloads

Seshat ORM for pure Dart servers with a query builder, typed models, relationships, and migrations.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

meta, postgres, sqlite3

More

Packages that depend on seshat