syncdrift_annotations 0.1.0 copy "syncdrift_annotations: ^0.1.0" to clipboard
syncdrift_annotations: ^0.1.0 copied to clipboard

Annotations for the syncdrift_flutter database framework (@Repository, @Cached, @SyncTable, @HasMany, @BelongsTo).

Changelog — syncdrift_annotations #

All notable changes to this package are documented here. See the root CHANGELOG for the full framework release history.

0.1.0 - 2026-06-05 #

Added #

  • @Repository() — marks a Drift table for repository class generation
  • @Cached(ttlSeconds: n) — enables SWR query caching with configurable TTL
  • @SyncTable() — marks a table for offline outbound sync queue interception
  • @HasMany(T, foreignKey) — declares a one-to-many relationship
  • @BelongsTo(T, foreignKey) — declares a many-to-one relationship
0
likes
150
points
15
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations for the syncdrift_flutter database framework (@Repository, @Cached, @SyncTable, @HasMany, @BelongsTo).

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on syncdrift_annotations