Skip to main content

WriteExecuteResponse

A write request's result over HTTP — the outcome plus the mode it ran in.

terminalTerminal (string)required
entityEntity (string)required

The type written — the definition's terminal type

requestedRequested (integer)required
affected object

null on dry_run

anyOf
integer
keys object

dry_run: the rows the request would address

anyOf
  • Array [
  • property name*any
  • ]
  • rows object

    return_rows: the changed rows

    anyOf
  • Array [
  • property name*any
  • ]
  • dependents object

    entity delete: the relation writes it implied; absent for every other request

    anyOf
  • Array [
  • relationRelation (string)required
    opOp (string)required

    Possible values: [delete, clear]

    affected object

    null on dry_run

    anyOf
    integer
  • ]
  • dry_runDry Run (boolean)required
    as_of object

    The primary's WAL position read after the commit; null on dry_run

    anyOf
    integer
    WriteExecuteResponse
    {
    "terminal": "string",
    "entity": "string",
    "requested": 0,
    "affected": 0,
    "keys": [
    {}
    ],
    "rows": [
    {}
    ],
    "dependents": [
    {
    "relation": "string",
    "op": "delete",
    "affected": 0
    }
    ],
    "dry_run": true,
    "as_of": 0
    }