pub fn union_many(mut inputs: Vec<Self>, typ: RelationType) -> Self {
        if inputs.len() == 0 {
            MirRelationExpr::Constant {
                rows: Ok(vec![]),
                typ,
            }
        } else if inputs.len() == 1 {
            inputs.into_element()
        } else {
            MirRelationExpr::Union {
                base: Box::new(inputs.remove(0)),
                inputs,
            }
        }
    }
/// Unions together any number inputs.
///
/// If `inputs` is empty, then an empty relation of type `typ` is
/// constructed.
Unions together any number inputs.
If `inputs` is empty, then an empty relation of type `typ` is
constructed.
Unions together any number inputs . If ` inputs ` is empty then an empty relation of type ` typ ` is constructed .
pub fn union_many(mut inputs: Vec<Self>, typ: RelationType) -> Self {
        if inputs.len() == 0 {
            MirRelationExpr::Constant {
                rows: Ok(vec![]),
                typ,
            }
        } else if inputs.len() == 1 {
            inputs.into_element()
        } else {
            MirRelationExpr::Union {
                base: Box::new(inputs.remove(0)),
                inputs,
            }
        }
    }
pub fn union_many ( mut inputs : Vec < Self > , typ : RelationType ) -> Self { if inputs . len ( ) == 0 { MirRelationExpr :: Constant { rows : Ok ( vec ! [ ] ) , typ , } } else if inputs . len ( ) == 1 { inputs . into_element ( ) } else { MirRelationExpr :: Union { base : Box :: new ( inputs . remove ( 0 ) ) , inputs , } } }
Unions together any number inputs.
Unions together any number inputs .
inputs
Vec<Self>
typ
RelationType
inputs
Vec<Self>
typ
RelationType