fn get_cast(
ecx: &ExprContext<'_>,
ccx: CastContext,
from: &SqlScalarType,
to: &SqlScalarType,
) -> Option<Box<dyn FnOnce(HirScalarExpr) -> HirScalarExpr>>Expand description
Get casts directly between two SqlScalarTypes, with control over the
allowed CastContext.