Skip to main content

parseGQL()

Call Signature​

parseGQL(gql: string): DefaultRuleGroupType

Defined in: packages/core/src/utils/parseCypher/parseCypher.ts:634

Parses a GQL query string. GQL is ~95% compatible with Cypher; the parser handles the same syntax.

Parameters​

ParameterType
gqlstring

Returns​

DefaultRuleGroupType

Call Signature​

parseGQL(gql: string, options: Omit<ParseCypherOptions, "independentCombinators"> & { independentCombinators?: false; }): DefaultRuleGroupType

Defined in: packages/core/src/utils/parseCypher/parseCypher.ts:635

Parses a GQL query string. GQL is ~95% compatible with Cypher; the parser handles the same syntax.

Parameters​

ParameterType
gqlstring
optionsOmit<ParseCypherOptions, "independentCombinators"> & { independentCombinators?: false; }

Returns​

DefaultRuleGroupType

Call Signature​

parseGQL(gql: string, options: Omit<ParseCypherOptions, "independentCombinators"> & { independentCombinators: true; }): DefaultRuleGroupTypeIC

Defined in: packages/core/src/utils/parseCypher/parseCypher.ts:641

Parses a GQL query string. GQL is ~95% compatible with Cypher; the parser handles the same syntax.

Parameters​

ParameterType
gqlstring
optionsOmit<ParseCypherOptions, "independentCombinators"> & { independentCombinators: true; }

Returns​

DefaultRuleGroupTypeIC


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.