time function

ColumnDefinition<LocalTime> time({
  1. String? name,
  2. bool unique = false,
  3. String? defaultSql,
  4. LocalTime clientDefault()?,
  5. int? precision,
})

A wall-clock time without a timezone.

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<LocalTime> time({
  String? name,
  bool unique = false,
  String? defaultSql,
  LocalTime Function()? clientDefault,
  int? precision,
}) => const ColumnDefinition._();