InsertMethod()
Defined in: packages/core/src/utils/queryTools.ts:614
InsertMethod<
RG>(query:RG,ruleOrGroup:RuleType<string,string,any,string> |RG,path:number[],options?:InsertOptions):RG
Defined in: packages/core/src/utils/queryTools.ts:615
Type Parameters
| Type Parameter |
|---|
RG extends RuleGroupTypeAny |
Parameters
| Parameter | Type | Description |
|---|---|---|
query | RG | The query to update. |
ruleOrGroup | RuleType<string, string, any, string> | RG | The rule or group to insert. |
path | number[] | Path at which to insert the rule or group. |
options? | InsertOptions | 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.