Function mz_sql::func::find_match
source · fn find_match<'a, R: Debug>(
ecx: &ExprContext<'_>,
types: &[CoercibleScalarType],
impls: Vec<&'a FuncImpl<R>>,
) -> Result<&'a FuncImpl<R>, usize>
Expand description
Finds an exact match based on the arguments, or, if no exact match, finds the best match available. Patterned after PostgreSQL’s type conversion matching algorithm.