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