arel 0.0.0

simulate rails arel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::nodes::statements::{StatementsType, Where};

#[derive(Clone, Debug)]
pub struct And<'a> {
    children: &'a Vec<StatementsType>
}

impl<'a> And<'a> {
    pub fn new(children: &'a Vec<StatementsType>) -> Self {
        Self {
            children
        }
    }
    pub fn to_sql(&self) -> String {
        "".to_string()
    }
}