pub enum ProjectionKind {
Column {
qualifier: Option<String>,
name: String,
},
Aggregate(AggregateCall),
}Expand description
What an individual projection item produces.
Variants§
Column
Column reference. qualifier is Some for t.col shapes
(SQLR-5 — needed so JOIN execution can disambiguate
same-named columns across tables); None for bare col.
The single-table path ignores the qualifier and looks up the
name directly, preserving legacy behavior.
Aggregate(AggregateCall)
Aggregate function call: COUNT(*), SUM(col), etc.
Trait Implementations§
Source§impl Clone for ProjectionKind
impl Clone for ProjectionKind
Source§fn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProjectionKind
impl RefUnwindSafe for ProjectionKind
impl Send for ProjectionKind
impl Sync for ProjectionKind
impl Unpin for ProjectionKind
impl UnsafeUnpin for ProjectionKind
impl UnwindSafe for ProjectionKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more