Skip to main content

partiql/sql/
mod.rs

1mod env;
2mod expr;
3mod field;
4mod selector;
5mod sql;
6mod utils;
7mod where_cond;
8
9pub use env::Env;
10pub use expr::{Expr, Func};
11pub use field::Field;
12pub use selector::Selector;
13pub use selector::SelectorNode;
14pub use sql::Sql;
15pub use where_cond::re_from_str;
16pub use where_cond::WhereCond;
17
18pub mod clause {
19    #[derive(Debug, Default, Clone, PartialEq)]
20    pub struct OrderBy {
21        pub label: String,
22        pub is_asc: bool,
23    }
24
25    #[derive(Debug, Default, Clone, PartialEq)]
26    pub struct Limit {
27        pub limit: u64,
28        pub offset: u64,
29    }
30}