fn add_predicate(&mut self, box_id: BoxId, predicate: BoxScalarExpr) {
        let mut the_box = self.model.get_mut_box(box_id);
        match &mut the_box.box_type {
            BoxType::Select(select) => select.predicates.push(Box::new(predicate)),
            BoxType::OuterJoin(outer_join) => outer_join.predicates.push(Box::new(predicate)),
            _ => unreachable!(),
        }
    }
/// Adds the given predicate to the given box.
///
/// The given box must support predicates, ie. it must be either a Select box
/// or an OuterJoin one.
Adds the given predicate to the given box.
The given box must support predicates, ie. it must be either a Select box
or an OuterJoin one.
Adds the given predicate to the given box . The given box must support predicates ie . it must be either a Select box or an OuterJoin one .
fn add_predicate(&mut self, box_id: BoxId, predicate: BoxScalarExpr) {
        let mut the_box = self.model.get_mut_box(box_id);
        match &mut the_box.box_type {
            BoxType::Select(select) => select.predicates.push(Box::new(predicate)),
            BoxType::OuterJoin(outer_join) => outer_join.predicates.push(Box::new(predicate)),
            _ => unreachable!(),
        }
    }
fn add_predicate ( & mut self , box_id : BoxId , predicate : BoxScalarExpr ) { let mut the_box = self . model . get_mut_box ( box_id ) ; match & mut the_box . box_type { BoxType :: Select ( select ) => select . predicates . push ( Box :: new ( predicate ) ) , BoxType :: OuterJoin ( outer_join ) => outer_join . predicates . push ( Box :: new ( predicate ) ) , _ => unreachable ! ( ) , } }
Adds the given predicate to the given box.
Adds the given predicate to the given box .
&mut self
box_id
BoxId
predicate
BoxScalarExpr
&mut self
box_id
BoxId
predicate
BoxScalarExpr