Arbitrary/exact precision decimal number.

Fallback policy:

  • If the precision or scale options are unsupported by the dialect, they will be ignored.
  • If the precision or scale options are not specified, and the dialect does not support unconstrained decimals, an error will be raised.
  • If the zerofill option is unsupported by the dialect, an error will be raised.
  • If the unsigned option is unsupported, it will be replaced by a CHECK > 0 constraint.
DataTypes.DECIMAL

Hierarchy (View Summary)

Constructors

Properties

usageContext: undefined | DataTypeUseContext

Where this DataType is being used.

Accessors

Methods