fn determine_arity(func: &ItemFn) -> ArityExpand description
Determines the arity of a function annotated with #[sqlfunc].
Accounts for &self receivers, trailing &RowArena parameters, and
parameter types like Variadic<T> or OptionalArg<T> that indicate
variadic dispatch.