Skip to main content

QueryNode<RG>

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

A single rule or group encountered by QueryManager.walk, along with where it was found.

Type Parameters

Type ParameterDefault type
RG extends RuleGroupTypeAnyRuleGroupType

Properties

node

node: RuleType<string, string, any, string, Record<string, any>> | RG

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

The rule or group itself.


parent

parent: RG | null

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

The group containing node, or null for the root group.


path

path: Path

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

The Path of node within the query. The root group's path is [].


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.