fromReaders MethodStatic @beta
Create a unifier that merges all rows of several readers, e.g. one per changeset. Where property values conflict, later readers win.
Each reader is requested and drained before the next, so readers can be a generator that opens and disposes them.
fromReaders(readers: Iterable<ChangesetReader>, args?: ChangeUnifierArgs): ChangeUnifier
@throws IModelError if args are invalid, if a reader has already been stepped or consumed, if the readers' propFilter
or rowOptions differ, or if the native layer fails (for example when readers read different iModels). Readers drained
before the error remain consumed.
| Parameter | Type | Description |
|---|---|---|
| readers | Iterable<ChangesetReader> | Readers of the same iModel, opened with the same propFilter and equivalent rowOptions, that have not been stepped yet. |
| args | ChangeUnifierArgs | Options controlling projection, memory use and batching. |
Returns - ChangeUnifier
Defined in
- backend/src/ChangeUnifier.ts Line 96
Last Updated: 28 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.