setOpCodeFilters Method @beta
Restrict iteration to changes with the given operation types. That means the rows for changes with other operation types will be skipped entirely and won't be visible through the reader.
setOpCodeFilters(ops: Set<SqliteChangeOp>): void
@throws if step has already been called and the reader successfully stepped at least once(i.e. returned true for a step() call) or if the native layer encounters an error while setting the filter.
| Parameter | Type | Description |
|---|---|---|
| ops | Set<SqliteChangeOp> | Operations to include. |
Returns - void
Defined in
- backend/src/ChangesetReader.ts Line 393
Last Updated: 03 August, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.