pub fn negated_expr<S>(delete_predicates: &[S]) -> Option<Expr>
    where
        S: AsRef<Self>,
    {
        if delete_predicates.is_empty() {
            return None;
        }

        let mut pred = PredicateBuilder::default().build();
        pred.merge_delete_predicates(delete_predicates);

        // Make a conjunctive expression of the pred.exprs
        let mut val = None;
        for e in pred.exprs {
            match val {
                None => val = Some(e),
                Some(expr) => val = Some(expr.and(e)),
            }
        }

        val
    }
/// Return a negated DF logical expression for the given delete predicates
Return a negated DF logical expression for the given delete predicates
Return a negated DF logical expression for the given delete predicates
pub fn negated_expr<S>(delete_predicates: &[S]) -> Option<Expr>
    where
        S: AsRef<Self>,
    {
        if delete_predicates.is_empty() {
            return None;
        }
        let mut pred = PredicateBuilder::default().build();
        pred.merge_delete_predicates(delete_predicates);
        // Make a conjunctive expression of the pred.exprs
        let mut val = None;
        for e in pred.exprs {
            match val {
                None => val = Some(e),
                Some(expr) => val = Some(expr.and(e)),
            }
        }
        val
    }
pub fn negated_expr < S > ( delete_predicates : & [ S ] ) -> Option < Expr > where S : AsRef < Self > , { if delete_predicates . is_empty ( ) { return None ; } let mut pred = PredicateBuilder :: default ( ) . build ( ) ; pred . merge_delete_predicates ( delete_predicates ) ; // Make a conjunctive expression of the pred.exprs let mut val = None ; for e in pred . exprs { match val { None => val = Some ( e ) , Some ( expr ) => val = Some ( expr . and ( e ) ) , } } val }
Return a negated DF logical expression for the given delete predicates
Return a negated DF logical expression for the given delete predicates
delete_predicates
&[S]
delete_predicates
&[S]