real function

ColumnDefinition<double> real({
  1. String? name,
  2. bool unique = false,
  3. double? defaultValue,
  4. String? defaultSql,
  5. double clientDefault()?,
})

A floating-point column.

name fixes the physical column name; otherwise snake_case is derived from the Record field. defaultSql is trusted database SQL. clientDefault runs only for omitted insert values and may coexist with a database default.

Implementation

ColumnDefinition<double> real({
  String? name,
  bool unique = false,
  double? defaultValue,
  String? defaultSql,
  double Function()? clientDefault,
}) => const ColumnDefinition._();