pub struct Select {
pub with: With,
pub first: SelectCoreId,
pub compounds: Vec<(CompoundOp, SelectCoreId)>,
pub order_by: Vec<OrderTerm>,
pub limit: Option<ExprId>,
pub offset: Option<ExprId>,
pub span: Span,
}Expand description
A complete SELECT: a WITH prefix, compound arms, and the tail clauses.
Fields§
§with: WithThe WITH prefix.
first: SelectCoreIdThe first arm.
compounds: Vec<(CompoundOp, SelectCoreId)>Later arms, each with the operator that joined it.
order_by: Vec<OrderTerm>The ORDER BY, which belongs to the whole compound.
limit: Option<ExprId>The LIMIT expression.
offset: Option<ExprId>The OFFSET expression.
span: SpanThe span of the whole statement.
Trait Implementations§
impl Eq for Select
impl StructuralPartialEq for Select
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnsafeUnpin for Select
impl UnwindSafe for Select
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