Enum

Understand enum-like fields in your database

Enum detection helps DataLoam identify fields that behave like enums, even when the database does not define them as formal enum types.

What counts as enum-like

A field is enum-like when it usually contains a small set of repeated values. Common examples include:

  • status
  • payment_status
  • role
  • priority
  • type

Why it matters

When DataLoam understands enum-like fields, AI can generate more accurate filters and explanations. For example, it can prefer known values such as shipped or refunded instead of guessing a value that does not exist.

Local context

Enum-like values are part of the Database Index context DataLoam uses to keep query help grounded in your real schema.