Date static method

Expr Date(
  1. Expr exp
)

Implementation

static Expr Date(Expr exp) {
  return new FunctionExpression("date", [exp])..fieldType = dbType.Date;
}