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 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 300
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.