Defined in: packages/db/src/types.ts:327
T extends object = Record\<`string`, `unknown`\>
TKey extends string | number = string | number
optional getSyncMetadata: () => Record<string, unknown>;Defined in: packages/db/src/types.ts:350
Get the sync metadata for insert operations
Record\<`string`, `unknown`\>
Record containing relation information
optional rowUpdateMode: "full" | "partial";Defined in: packages/db/src/types.ts:359
The row update mode used to sync to the collection.
partial
partial: Updates contain only the changes to the row.
full: Updates contain the entire row.
sync: (params) =>
| void
| CleanupFn
| SyncConfigRes;Defined in: packages/db/src/types.ts:331
(options?) => void
Begin a new sync transaction.
Collection\<`T`, `TKey`, `any`, `any`, `any`\>
() => void
() => void
SyncMetadataApi\<`TKey`\>
() => void
(message) => void
| void | CleanupFn | SyncConfigRes