Skip to main content

UpdateMethod()

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

UpdateMethod<RG>(query: RG, prop: UpdateableProperties, value: any, pathOrID: string | Path, options?: UpdateOptions): RG

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

Type Parameters

Type Parameter
RG extends RuleGroupTypeAny

Parameters

ParameterTypeDescription
queryRGThe query to update.
propUpdateablePropertiesThe name of the property to update.
valueanyThe new value of the property.
pathOrIDstring | PathThe path or ID of the rule or group to update.
options?UpdateOptionsOptions.

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.