LiveDiffPayload
Defined in: packages/client/src/worker/protocol.ts:453
worker → tab: a DIFF update for a subscription (§4). Never a full result-set resend after the initial
snapshot. order is the full ordered list of row keys (cheap — keys only, no row bodies); added/
changed carry only the delta row bodies; removed carries only the dropped keys. The tab materializer
rebuilds the ordered array from order, reusing cached row objects for keys not in added/changed so
an unchanged row keeps its object identity (React memo bails on ===).
Properties
Section titled “Properties”added:
object[]
Defined in: packages/client/src/worker/protocol.ts:457
key:
string
row:
Record<string,unknown>
changed
Section titled “changed”changed:
object[]
Defined in: packages/client/src/worker/protocol.ts:458
key:
string
row:
Record<string,unknown>
order:
string[]
Defined in: packages/client/src/worker/protocol.ts:456
Every result key in ORDER BY order (the query’s delivered order).
queryId
Section titled “queryId”queryId:
string
Defined in: packages/client/src/worker/protocol.ts:454
removed
Section titled “removed”removed:
string[]
Defined in: packages/client/src/worker/protocol.ts:459