Thrown when a foreign key constraint is violated in the database

Hierarchy (view full)

Constructors

Properties

fields: undefined | {
    [field: string]: string;
}

Type declaration

  • [field: string]: string
index: undefined | string
parameters: object

The parameters for the sql that triggered the error

reltype: undefined | RelationshipType
sql: string

The SQL that triggered the error

table: undefined | string
value: unknown

Accessors