A 32-bit integer.

Fallback policy:

  • When this type or its unsigned option is unsupported by the dialect, it will be replaced by a BIGINT, with a CHECK constraint to ensure the value is withing the bounds of an 32-bit integer.
  • If the zerofill option is unsupported by the dialect, an error will be raised.
  • If the length option is unsupported by the dialect, it will be discarded.

Example

DataTypes.INTEGER

Hierarchy (view full)

Constructors

Properties

#dialect: undefined | AbstractDialect<object, object>
usageContext: undefined | DataTypeUseContext

Where this DataType is being used.

Accessors

Methods