1pub mod analyzer;
11pub mod ast;
12pub mod build;
13pub mod codegen;
14pub mod config;
15pub mod error;
16pub mod fmt;
17pub mod migrate;
18pub mod parser;
19pub mod rls;
20pub mod schema;
21pub mod transformer;
22pub mod transpiler;
23pub mod typed;
24pub mod validator;
25
26#[cfg(test)]
27mod proptest;
28
29pub use parser::parse;
30
31pub type Qail = ast::Qail;
33
34pub mod prelude {
35 pub use crate::ast::*;
36 pub use crate::ast::builders::{
37 col, param, star,
39 count, count_distinct, count_filter, count_where, count_where_all,
41 sum, avg, max, min,
42 eq, ne, gt, gte, lt, lte, is_null, is_not_null, is_in, not_in, like, ilike,
44 cond,
45 text, int, float, boolean, null, bind,
47 cast, now, now_minus, now_plus, interval, binary, case_when,
49 coalesce, func, replace, nullif, concat,
51 json, json_path, json_obj,
53 recent, recent_col, in_list, percentage, all, and, and3,
55 ExprExt,
57 };
58
59 pub use crate::error::*;
60 pub use crate::parser::parse;
61 pub use crate::transpiler::ToSql;
62 pub use crate::Qail;
63}