1pub mod analyzer;
11pub mod ast;
12pub mod build;
13pub mod codegen;
14pub mod error;
15pub mod fmt;
16pub mod migrate;
17pub mod parser;
18pub mod schema;
19pub mod transformer;
20pub mod transpiler;
21pub mod typed;
22pub mod validator;
23
24pub use parser::parse;
25
26pub type Qail = ast::Qail;
28
29pub mod prelude {
30 pub use crate::ast::*;
31 pub use crate::ast::builders::{
32 col, param, star,
34 count, count_distinct, count_filter, count_where, count_where_all,
36 sum, avg, max, min,
37 eq, ne, gt, gte, lt, lte, is_null, is_not_null, is_in, not_in, like, ilike,
39 cond,
40 text, int, float, boolean, null, bind,
42 cast, now, now_minus, now_plus, interval, binary, case_when,
44 coalesce, func, replace, nullif, concat,
46 json, json_path, json_obj,
48 recent, recent_col, in_list, percentage, all, and, and3,
50 ExprExt,
52 };
53
54 pub use crate::error::*;
55 pub use crate::parser::parse;
56 pub use crate::transpiler::ToSql;
57 pub use crate::Qail;
58}