now function

Expression<PgDateTime> now()

Calls the NOW() function in postgres.

Implementation

Expression<PgDateTime> now() {
  return FunctionCallExpression('NOW', [])
      .dartCast(customType: PgTypes.timestampWithTimezone);
}