API Reference
Source
C
Model
C
QueryInterface
C
Sequelize
C
Transaction
V
DataTypes
V
Deferrable
V
IndexHints
V
Op
V
QueryTypes
V
TableHints
associations
C
Association
C
BelongsToMany
C
BelongsTo
C
HasMany
C
HasOne
dialects/sqlite
F
describeTable
errors
C
AssociationError
C
BaseError
C
BulkRecordError
C
ConnectionError
C
DatabaseError
C
EagerLoadingError
C
EmptyResultError
C
InstanceError
C
OptimisticLockError
C
QueryError
C
SequelizeScopeError
C
ValidationError
C
ValidationErrorItem
errors/connection
C
AccessDeniedError
C
ConnectionAcquireTimeoutError
C
ConnectionRefusedError
C
ConnectionTimedOutError
C
HostNotFoundError
C
HostNotReachableError
C
InvalidConnectionError
errors/database
C
ExclusionConstraintError
C
ForeignKeyConstraintError
C
TimeoutError
C
UnknownConstraintError
errors/validation
C
UniqueConstraintError
datatypes
C
ARRAY
C
VIRTUAL
C
UUIDV4
C
UUIDV1
C
UUID
C
TINYINT
C
TIME
C
TEXT
C
STRING
C
SMALLINT
C
REAL
C
RANGE
C
NUMBER
C
NOW
C
MEDIUMINT
C
MACADDR
C
JSONTYPE
C
JSONB
C
INTEGER
C
INET
C
HSTORE
C
GEOMETRY
C
GEOGRAPHY
C
FLOAT
C
ENUM
C
DOUBLE
C
DECIMAL
C
DATEONLY
C
DATE
C
CITEXT
C
CIDR
C
CHAR
C
BOOLEAN
C
BLOB
C
BIGINT
public
class
|
source
UniqueConstraintError
Extends:
lib/errors/validation/unique-constraint-error.js~ValidationError
→ UniqueConstraintError
Thrown when a unique constraint is violated in the database