Skip to main content

FieldDatatypeCategory

FieldDatatypeCategory = "string" | "number" | "bigint" | "boolean" | "date" | "datetime" | "time" | "enum" | "array" | "object" | "unknown"

Defined in: packages/core/src/types/datatype.ts:9

Normalized data type category of a field. Raw datatype values (e.g. 'VARCHAR(50)', 'timestamp with time zone') are normalized to one of these categories by getDatatypeCategory.

  • enum: fixed value list
  • unknown: no operator narrowing

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.