update

abstract suspend fun update(mapper: suspend (T) -> T)

Applies the mapper to the values that match against this query. Returning a value with a different DataDescription.indexField value will result in an Exception being thrown.