pendingMutation

fun pendingMutation(id: Long, table: String, operation: MutationOperation, createdAt: Instant, rowKeys: List<JsonObject> = emptyList(), body: JsonElement? = null): PendingMutation(source)

A write waiting in the mutation queue, as Offline.pendingMutations lists one.

Parameters

id

its id in the queue.

table

the table it targets.

operation

what it does.

createdAt

when it was queued.

rowKeys

the primary-key values of the rows it touches.

body

the body it sends, or null.