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 schema;
22#[cfg(feature = "analyzer")]
23pub mod transformer;
24pub mod transpiler;
25pub mod typed;
26pub mod validator;
27
28#[cfg(test)]
29mod proptest;
30
31pub use parser::parse;
32
33pub type Qail = ast::Qail;
35
36pub mod prelude {
37 pub use crate::ast::*;
38 pub use crate::ast::builders::{
39 col, param, star,
41 count, count_distinct, count_filter, count_where, count_where_all,
43 sum, avg, max, min,
44 eq, ne, gt, gte, lt, lte, is_null, is_not_null, is_in, not_in, like, ilike,
46 cond,
47 text, int, float, boolean, null, bind,
49 cast, now, now_minus, now_plus, interval, binary, case_when,
51 coalesce, func, replace, nullif, concat,
53 json, json_path, json_obj,
55 recent, recent_col, in_list, percentage, all, and, and3,
57 ExprExt,
59 };
60
61 pub use crate::error::*;
62 pub use crate::parser::parse;
63 pub use crate::transpiler::ToSql;
64 pub use crate::Qail;
65}