Skip to main content

can_cast

Function can_cast 

Source
pub fn can_cast(
    ecx: &ExprContext<'_>,
    ccx: CastContext,
    cast_from: &SqlScalarType,
    cast_to: &SqlScalarType,
) -> bool
Expand description

Reports whether it is possible to perform a cast from the specified types.