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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
records | readonly LedgerRecord[] |
over | | TransactionOp[] | LedgerRecord | LedgerRecord[] |
baseDoc | DocumentNode |