Interface: EntryDelta<TProps>
Defined in: model/stored-entry.ts:189
What entries.syncChanges() takes: only the rows a server changed, and the ids it removed.
Type Parameters
TProps
TProps = Record<string, unknown>
Properties
remove?
readonlyoptionalremove?: readonly (string|EntryId)[]
Defined in: model/stored-entry.ts:196
Ids to remove, each with its subtree. An id the Dataset does not hold is ignored, so a retried delta is safe to apply again.
upsert?
readonlyoptionalupsert?: readonlyEntryIngestInput<TProps>[]
Defined in: model/stored-entry.ts:193
Rows to add or change, keyed by id. An id the Dataset does not hold adds an entry, read the
way add() reads one. An id it holds takes the row as a partial edit: a key the row leaves out
keeps its value, and a key set to undefined clears it, the same as update().