use std::borrow::Cow;
mod constructors;
mod custom;
pub use custom::CustomExpr;
pub(crate) use custom::CustomExprPart;
mod conversions;
mod subqueries;
use crate::*;
#[derive(Debug, Clone, PartialEq)]
pub enum Expr {
Column(ColumnRef),
Tuple(Vec<Expr>),
Unary(UnOper, Box<Expr>),
FunctionCall(FunctionCall),
Binary(Box<Expr>, BinOper, Box<Expr>),
SubQuery(Option<SubQueryOper>, Box<SubQueryStatement>),
Value(Value),
Values(Vec<Value>),
Custom(Cow<'static, str>),
CustomWithExpr(CustomExpr),
Invalid(crate::error::RenderError),
Keyword(Keyword),
AsEnum(DynIden, Box<Expr>),
Case(Box<CaseStatement>),
Constant(Value),
TypeName(TypeRef),
}