UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

15 lines (12 loc) 394 B
import type { Database } from '../..' import type { SyncDatabaseChangeSet, SyncLog, SyncConflictResolver } from '../index' export default function applyRemoteChanges( remoteChanges: SyncDatabaseChangeSet, opts: { db: Database sendCreatedAsUpdated: boolean log?: SyncLog conflictResolver?: SyncConflictResolver _unsafeBatchPerCollection?: boolean }, ): Promise<void>