date constant

CustomSqlType<PgDate> const date

The date type in Postgres.

Implementation

static const CustomSqlType<PgDate> date = DateType(
  pg.Type.date,
  'date',
  PgDate.fromDateTime,
);