Skip to main content

AddOptions

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:21

Options for add.

Properties

combinatorPreceding?

optional combinatorPreceding: string

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:34

If the query extends RuleGroupTypeIC (i.e. the query has independent combinators), then this combinator will be inserted before the new rule/group if the parent group is not empty. This option will supersede combinators.


combinators?

optional combinators: OptionList

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:28

If the query extends RuleGroupTypeIC (i.e. the query has independent combinators), then the first combinator in this list will be inserted before the new rule/group if the parent group is not empty. This option is overridden by combinatorPreceding.


idGenerator()?

optional idGenerator: () => string

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:38

ID generator.

Returns

string


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.