dartCast<D2> method

Expression<D2> dartCast<D2>()

Casts this expression to an expression of D.

Calling dartCast will not affect the generated sql. In particular, it will NOT generate a CAST expression in sql. To generate a CAST in sql, use cast.

This method is used internally by drift.

Implementation

Expression<D2> dartCast<D2>() {
  return _DartCastExpression<D, D2>(this);
}