Skip to main content

ParseSQLExpressionContext

Defined in: packages/core/src/utils/parseSQL/types.ts:319

Context passed to a ParseSQLOptions.getExpression handler alongside the operand node. Carries the same number-parsing option as the rest of parseSQL plus a predicate for validating that field leaves inside an expression exist in the configured fields.

Properties​

bigIntOnOverflow?​

optional bigIntOnOverflow?: boolean

Defined in: packages/core/src/utils/parseSQL/types.ts:320


fieldExists​

fieldExists: (fieldName: string) => boolean

Defined in: packages/core/src/utils/parseSQL/types.ts:322

true when the field exists in the configured fields (or no fields were configured).

Parameters​

ParameterType
fieldNamestring

Returns​

boolean


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.