syncache_drift 0.5.0
syncache_drift: ^0.5.0 copied to clipboard
Drift (SQLite) storage backend for Syncache. Provides durable persistent caching with full support for tag-based invalidation, pattern matching, and a mutation outbox sharing one SQL connection with the cache.
Changelog #
0.5.0 #
- Initial release: Drift (SQLite) storage backend for Syncache.
DriftStore<T>:TaggableStore+IterableStoreover acachetable with a relationalcache_tagsindex (full tag lifecycle contract: plain write preserves tags,writeWithTagsreplaces them, delete/clear remove mappings) and glob (*/?) pattern operations.DriftMutationOutbox:MutationOutboxover amutation_outboxtable (INSERT OR REPLACE / DELETE BY id / DELETE FROM / SELECT ORDER BY seq), withoptimisticSnapshotpersistence and corrupted-row tolerance.- Store and outbox share one database connection:
clearnever touches outbox records, and cache + outbox writes can run in one SQL transaction.