A single-floating point number with a 4-byte precision. If single-precision floating-point format is not supported, a double-precision floating-point number may be used instead.

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.FLOAT

Hierarchy (view full)

Constructors

Properties

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

Where this DataType is being used.

Accessors

Methods