currentDateAndTime top-level constant Null safety

Expression<DateTime> const currentDateAndTime

A sql expression that evaluates to the current date and time, similar to DateTime.now. Timestamps are stored with a second accuracy.

Implementation

const Expression<DateTime> currentDateAndTime =
    _CustomDateTimeExpression("strftime('%s', CURRENT_TIMESTAMP)");