upsertAll

abstract fun upsertAll(records: List<R>, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Upsert (insert or update) multiple records to this data provider.

Return

an object representing pending completion of the task.

Parameters

records

Records to be added.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Callback to handle result.

open fun upsertAll(records: List<R>, callback: CompletionCallback<Unit>): AsyncOperationTask

Upsert (insert or update) multiple records to this data provider.

Return

an object representing pending completion of the task.

Parameters

records

Records to be added.

callback

Callback to handle result, triggered on the main thread.