YearmonthConstraints
Defined in: core/field/types/Yearmonth.ts:16
Yearmonth-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
optional
enum:string
[]
Defined in: core/field/types/Yearmonth.ts:31
Restrict values to a specified set of yearmonths Should be in string format (e.g., “YYYY-MM”)
maximum?
Section titled “maximum?”
optional
maximum:string
Defined in: core/field/types/Yearmonth.ts:25
Maximum allowed yearmonth value (format: YYYY-MM)
minimum?
Section titled “minimum?”
optional
minimum:string
Defined in: core/field/types/Yearmonth.ts:20
Minimum allowed yearmonth value (format: YYYY-MM)
required?
Section titled “required?”
optional
required:boolean
Defined in: core/field/types/Base.ts:52
Indicates if field is allowed to be null/empty
Inherited from
Section titled “Inherited from”BaseConstraints.required
unique?
Section titled “unique?”
optional
unique:boolean
Defined in: core/field/types/Base.ts:57
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique