Skip to main content

WalkOptions

Defined in: packages/core/src/utils/QueryManager.ts:371

Options for QueryManager.walk and its derivatives.

Properties

from?

optional from?: string | Path

Defined in: packages/core/src/utils/QueryManager.ts:376

Traverse only the subtree rooted at this path or id instead of the whole query. The node itself is visited first. When the path or id can't be resolved, nothing is visited.


groupsOnly?

optional groupsOnly?: boolean

Defined in: packages/core/src/utils/QueryManager.ts:380

Visit only groups.


rulesOnly?

optional rulesOnly?: boolean

Defined in: packages/core/src/utils/QueryManager.ts:378

Visit only rules. Groups are still traversed, just not yielded (except as parent).


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.