patch

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

Patch

Patches a single record 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