patch

inline suspend fun <T> patch(noinline patchBuilder: JsonPatch.Builder.() -> Unit): List<T>

Patch

Patches all records in a table with the given Json patch.

Receiver

The update builder

Return

The records changed by the patch

Parameters

T

The type of the returned records

patchBuilder

A json patch DSL to build the patch