Type Alias ConstraintViolation

ConstraintViolation: { column: string; description: string; type: "unique" }

Represents an instance of a table constraint violation.

Type declaration

  • column: string

    The name of the column where the constraint violation occurred.

  • description: string

    A description of what the violation is and why it was violated.

  • type: "unique"

    The type of constraint violation.