ditto-lib / live.ditto / DittoPendingCursorOperation / update

update

fun update(closure: (List<DittoMutableDocument<T>>) -> Unit): Map<String, List<DittoUpdateResult>>
fun update(updater: DittoMutableDocumentsUpdater<T>): Map<String, List<DittoUpdateResult>>

Update documents that match the query generated by the preceding function chaining.