GroupMethod()
Defined in: packages/core/src/utils/queryTools.ts:726
GroupMethod<
RG>(query:RG,sourcePathOrID:string|Path,targetPathOrID:string|Path,options?:GroupOptions):RG
Defined in: packages/core/src/utils/queryTools.ts:727
Type Parameters
| Type Parameter |
|---|
RG extends RuleGroupTypeAny |
Parameters
| Parameter | Type | Description |
|---|---|---|
query | RG | The query to update. |
sourcePathOrID | string | Path | Path of the rule/group to move or clone. |
targetPathOrID | string | Path | Path of the target rule/group, which will become the path of the new group. |
options? | GroupOptions | Options. |
Returns
RG
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.