指南
参考
源代码
C
Model
C
Sequelize
C
Transaction
F
format
F
formatNamedParameters
F
safeStringifyJson
V
DataTypes
V
Deferrable
V
IndexHints
V
QueryTypes
V
TableHints
associations
C
Association
C
BelongsToMany
C
BelongsTo
C
HasMany
C
HasOne
dialects/abstract
C
QueryInterface
dialects/db2
C
Db2QueryInterface
dialects/mssql
C
AsyncQueueError
C
MSSqlQueryInterface
dialects/mysql
C
MySQLQueryInterface
dialects/oracle
C
OracleQueryInterface
dialects/postgres
C
PostgresQueryInterface
dialects/snowflake
C
SnowflakeQueryInterface
dialects/sqlite
C
SQLiteQueryInterface
errors
C
AggregateError
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
V
ValidationErrorItemOrigin
V
ValidationErrorItemType
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
utils
F
injectReplacements
数据类型
C
ARRAY
C
VIRTUAL
C
UUIDV4
C
UUIDV1
C
UUID
C
TSVECTOR
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
|
源代码
INET
继承自
src/data-types.js~ABSTRACT
→ INET
INET 类型用于存储 IPv4 或 IPv6 主机地址,以及可选的子网。占用 7 或 19 字节。
仅适用于 Postgres。