getQuerySelectorById()
getQuerySelectorById(
qbId
): (state
) =>RuleGroupTypeAny
Given a qbId
(passed to every component as part of the schema
prop), returns
a Redux selector for use with useQueryBuilderSelector.
Note that useQueryBuilderQuery is a more concise way of accessing the query for the nearest ancestor QueryBuilder component.
Parameters
Parameter | Type |
---|---|
qbId | string |
Returns
Function
Parameters
Parameter | Type |
---|---|
state | RqbState |
Returns
Defined in
packages/react-querybuilder/src/redux/selectors.ts:13
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.