Function sql::func::coerce_args_to_types[][src]

fn coerce_args_to_types(
    ecx: &ExprContext<'_>,
    args: Vec<CoercibleScalarExpr>,
    params: &ParamList
) -> Result<Vec<HirScalarExpr>, PlanError>
Expand description

Coerces concrete arguments for a function according to the abstract parameters specified in the function definition.

You must only call this function if ParamList::matches_argtypes has verified that the args are valid for params.