Skip to main content

quoteCypherIdentifier()

quoteCypherIdentifier(fieldName: string): string

Defined in: packages/core/src/utils/formatQuery/utils.ts:333

Renders a (possibly .-delimited) field name as a Cypher/GQL property path. Segments that aren't plain identifiers are backtick-quoted, with embedded backticks doubled (e.g. n.first name → n.`first name` ). Plain identifiers are emitted as-is.

Parameters​

ParameterType
fieldNamestring

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.