DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/variables/SYNC_PERSISTENCE_PROTOCOL.md
SYNC_PERSISTENCE_PROTOCOL
ts
const SYNC_PERSISTENCE_PROTOCOL: "@tanstack/db/sync-persistence";Defined in: packages/db/src/sync-persistence.ts:9
Internal
Unstable cross-package protocol for persistence-aware collection adapters. Application code should not construct or depend on this value directly.