Constraint attributes
Each constraint object can contain the following attributes:
{
"constraint_type": "unique" | "not-equal",
"fields": string[]
}
constraint_type
The type of constraint.
Either unique
or not-equal
.
fields
The names of the fields that the constraint applies to.
For the list of field attributes, go to Constraint attributes.
Last updated