onDate method

MssqlCondition onDate(
  1. DateTime day, {
  2. MssqlOperator operator = MssqlOperator.eq,
  3. Duration? zoneOffset,
})

Every row whose value falls on the calendar day day, as a half-open range.

The time of day in day is ignored: it names a day, and the range runs from its midnight to the next. See inYear for operator and zoneOffset.

Implementation

MssqlCondition onDate(
  DateTime day, {
  MssqlOperator operator = MssqlOperator.eq,
  Duration? zoneOffset,
}) => MssqlCalendarRange(
  this,
  start: DateTime(day.year, day.month, day.day),
  endExclusive: DateTime(day.year, day.month, day.day + 1),
  operator: operator,
  zoneOffset: zoneOffset,
);