vantage_sql/primitives/select/
mod.rs1pub mod window;
2
3use vantage_expressions::Expression;
4
5pub trait SelectBuilder<V>: Clone {
10 type Join;
11
12 fn push_join(&mut self, join: Self::Join);
13 fn push_having(&mut self, cond: Expression<V>);
14 fn push_cte(&mut self, name: String, query: Expression<V>, recursive: bool);
15}
16
17pub trait JoinBuilder<V>: Sized {
19 fn make_inner(table: &str, alias: &str, on: Expression<V>) -> Self;
20 fn make_left(table: &str, alias: &str, on: Expression<V>) -> Self;
21}