pub mod aggregates;
pub mod case;
mod column;
mod error;
mod expr;
mod field_type;
pub mod funcs;
pub mod joins;
mod query;
mod schema;
pub mod subquery;
mod validate;
mod value;
pub mod window;
pub use case::{case, value, CaseBuilder};
pub use column::{Column, TypedAssignment, TypedExpr, TypedFieldList, TypedFilter};
pub use error::QueryError;
pub use expr::{BinOp, CaseBranch, Expr, ScalarFn, F};
pub use field_type::FieldType;
pub use query::{
AggregateExpr, AggregateQuery, Assignment, BulkInsertQuery, BulkUpdateQuery, ColumnFilter,
CompoundBranch, ConflictClause, CountQuery, DeleteQuery, Filter, InsertQuery, Join, JoinKind,
LockMode, NullsOrder, Op, OrderClause, OrderItem, SearchClause, SelectQuery, SetOp,
UpdateQuery, WhereExpr,
};
pub use schema::{
infer_app_label_from_module_path, AdminConfig, CheckConstraint, CompositeFkRelation,
FieldSchema, Fieldset, GenericRelation, IndexMethod, IndexSchema, M2MRelation, Model,
ModelEntry, ModelSchema, ModelScope, Relation,
};
pub use validate::validate_value;
pub use value::SqlValue;
pub use window::{FrameBoundary, FrameKind, WindowExpr, WindowFn, WindowFrame};
#[doc(hidden)]
pub use inventory;
#[must_use]
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION")
}