syncdrift_annotations 0.1.0
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