Floating point number (8-byte precision). Throws an error when unsupported, instead of silently falling back to a lower precision.

Fallback policy:

  • If the precision or scale options are unsupported by the dialect, they will be discarded.
  • 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.

Example

DataTypes.DOUBLE

Hierarchy (view full)

Constructors

Properties

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

Where this DataType is being used.

Accessors

Methods