pub trait PredicateHandler {
    fn build_predicate(
        &self,
        expression: SqlExpr,
        args: &[SqlArg],
        aux_params: &ParameterMap<'_>
    ) -> Result<Option<SqlExpr>, SqlBuilderError>; }

Required Methods

Match filter and return SQL expression or None, if no filtering is required. Do not insert parameters in the SQL expression, use ? instead and provide the argument in the vector. If you miss some arguments, raise an error, typically SqlBuilderError::FilterInvalid

Trait Implementations

Formats the value using the given formatter. Read more

Implementors