pub type TranslationFn = Box<dyn Fn(&str, ParameterBinding<ExpressionTranslation>) -> Result<SQLExpression> + Send + Sync>;Expand description
Type alias for translation functions.
Translation functions take:
name: The name the function was called with (useful for operators that map to SQL)bindings: The bound parameter values (already translated to SQL)
And return the translated SQL expression.
Aliased Typeยง
pub struct TranslationFn(/* private fields */);