File: SyncConfig.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Framework
React
Version
Latest
Search...
+ K
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
Framework
React
Version
Latest
Menu
Getting Started
Guides
Collections
Frameworks
Community
API Reference
On this page
Copy Markdown
Interface: SyncConfig<T, TKey>
==============================
Defined in: packages/db/src/types.ts:263
Type Parameters
---------------
### T
T extends object = Record<string, unknown>
TKey extends string | number = string | number
Properties
----------
### getSyncMetadata()?
ts
optional getSyncMetadata: () => Record<string, unknown>;
optional getSyncMetadata: () => Record<string, unknown>;
Defined in: packages/db/src/types.ts:280
Get the sync metadata for insert operations
Record<string, unknown>
Record containing relation information
ts
optional rowUpdateMode: "full" | "partial";
optional rowUpdateMode: "full" | "partial";
Defined in: packages/db/src/types.ts:289
The row update mode used to sync to the collection.
partial
ts
sync: (params) =>
| void
| CleanupFn
| SyncConfigRes;
sync: (params) =>
| void
| CleanupFn
| SyncConfigRes;
Defined in: packages/db/src/types.ts:267
#### Parameters ##### params ###### begin
() => void
Collection <T, TKey, any, any, any>
() => void
() => void
() => void
(message) => void
| void | CleanupFn | SyncConfigRes
