Skip to Content
Available on client only
sync(basicFilter: EqualityFilter, options: SyncOptions, onChange: OnChange, onError?: OnErrorHandler): Promise<SyncHandler>
Parameters
-
basicFilter required EqualityFilter
Filter used for data synchronization, where all specified columns must match the given values.
Columns are combined using an AND condition.
Example:
{ department: 'd1', name: 'abc' }would match records where department is ‘d1’ AND name is ‘abc’. -
options required SyncOptions
-
onChange required OnChange
Creates a local synchronized table
-
onError optional OnErrorHandler
Return type
SyncHandler
- $unsync required () => void
- $upsert required (newData: T[]) => void | Promise<void>
- getItems required () => T[]
Last updated on