pub fn from_query(&mut self, query: Select, alias: &str) {
        let sf = SourceField {
            source: QuerySource::Query(query),
            rename: Some(alias.to_owned()),
        };
        self.from.push(sf);
    }
/// a query to query from
/// use WITH (query) t1 SELECT from t1 declaration in postgresql, sqlite
/// use SELECT FROM (query) in oracle, mysql, others
/// alias of the table
a query to query from
use WITH (query) t1 SELECT from t1 declaration in postgresql, sqlite
use SELECT FROM (query) in oracle, mysql, others
alias of the table
a query to query from use WITH ( query ) t1 SELECT from t1 declaration in postgresql sqlite use SELECT FROM ( query ) in oracle mysql others alias of the table
pub fn from_query(&mut self, query: Select, alias: &str) {
        let sf = SourceField {
            source: QuerySource::Query(query),
            rename: Some(alias.to_owned()),
        };
        self.from.push(sf);
    }
pub fn from_query ( & mut self , query : Select , alias : & str ) { let sf = SourceField { source : QuerySource :: Query ( query ) , rename : Some ( alias . to_owned ( ) ) , } ; self . from . push ( sf ) ; }
a query to query from
use WITH (query) t1 SELECT from t1 declaration in postgresql, sqlite
use SELECT FROM (query) in oracle, mysql, others
alias of the table
a query to query from use WITH ( query ) t1 SELECT from t1 declaration in postgresql sqlite use SELECT FROM ( query ) in oracle mysql others alias of the table
&mut self
query
Select
alias
&str
&mut self
query
Select
alias
&str