ToDate constructor

ToDate(
  1. dynamic expr
)

Creates $toDate operator expression

Converts a value to a date. If the value cannot be converted to a date, $toDate errors. If the value is null or missing, $toDate returns null.

Implementation

ToDate(expr) : super('toDate', expr);