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.
unique
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 7 months ago
Was this helpful?