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