Skip to main content

AddOptions

Defined in: packages/core/src/utils/queryTools.ts:34

Options for add.

Properties

combinatorPreceding?

optional combinatorPreceding?: string

Defined in: packages/core/src/utils/queryTools.ts:47

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/core/src/utils/queryTools.ts:41

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/core/src/utils/queryTools.ts:51

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.