Skip to content

rebaseRecords

function rebaseRecords(
records,
over,
baseDoc): RebaseManyResult;

Defined in: ledger-rebase.ts:408

Rebase many records onto the same concurrent change. Assumes the records are concurrent with over and mutually independent (the common case: a batch of remote edits transformed past your local unshared ops). Records that cannot be rebased are collected in failed rather than aborting the batch.

ParameterType
recordsreadonly LedgerRecord[]
over| TransactionOp[] | LedgerRecord | LedgerRecord[]
baseDocDocumentNode

RebaseManyResult