conflictedMutation
fun conflictedMutation(id: Long, table: String, operation: MutationOperation, createdAt: Instant, rowKeys: List<JsonObject> = emptyList(), body: JsonElement? = null, base: JsonObject = JsonObject(emptyMap()), server: JsonObject? = null, serverVersion: String? = null, changedOnServer: Set<String> = emptySet(), conflictingColumns: Set<String> = emptySet(), message: String, conflictedAt: Instant): ConflictedMutation(source)
A write parked on the conflicted list, as Offline.conflictedMutations lists one.
Parameters
id
its id in the queue.
table
the table it targeted.
operation
createdAt
when it was queued.
rowKeys
the primary-key values of the row it touches.
body
the body it sends, or null.
base
the columns the write sets and the version column, as the device last saw the row.
server
the server's row as the replay read it, in part, or null.
serverVersion
the server row's version as text, or null when the row was gone.
changedOnServer
the columns the write sets whose server value differed from base's.
conflictingColumns
of changedOnServer, those the write sets to another value.
message
why it was parked.
conflictedAt
when it was parked.