schema.constraints.enum.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/schema > Constraints > enum

Constraints.enum property

Strict list of allowed values in the column.

Signature:

enum?: string[];