Create a REAL data type
OptionalprecisionOrOptions: number | { precision?: number; decimals?: number; unsigned?: boolean }
Either a precision number or an options object
OptionalprecisionPrecision (total number of digits) - MySQL/MariaDB specific
OptionaldecimalsNumber of decimal places
OptionalunsignedWhether the value is unsigned (MySQL/MariaDB only)
Compare this DataType with another DataType for equality
The DataType to compare with
true if the types are equal, false otherwise
Serialize a value for storage based on this DataType
The value to serialize
The serialized value
Optionaldialect: string
Base class for all data types