pub enum ColumnOrExpression {
Column(QualifiedAlias),
ExistingColumn(Name),
Entid(Entid),
Integer(i32),
Long(i64),
Value(TypedValue),
NullableAggregate(Box<Expression>, ValueType),
Expression(Box<Expression>, ValueType),
}
One of the things that can appear in a projection or a constraint. Note that we use
TypedValue
here; it's not pure SQL, but it avoids us having to concern ourselves at this
point with the translation between a TypedValue
and the storage-layer representation.
Eventually we might allow different translations by providing a different QueryBuilder
implementation for each storage backend. Passing TypedValue
s here allows for that.
Column(QualifiedAlias)
ExistingColumn(Name)
QueryValue
and ColumnOrExpression
are almost identical… merge somehow?
fn push_sql(&self, out: &mut QueryBuilder) -> BuildQueryResult | [src] |