dartCast<D2 extends Object> method
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 extends Object>({CustomSqlType<D2>? customType}) {
return _DartCastExpression<D, D2>(this, customType);
}