pub struct SelectQuery {
pub select: SelectClause,
pub from: ContainsExpr,
pub where_: Option<WhereExpr>,
pub order_by: Vec<OrderByExpr>,
pub limit: Option<Limit>,
}Expand description
selectQuery : selectClause fromClause whereClause? orderByClause? limitClause?
Fields§
§select: SelectClauseSELECT [DISTINCT] [TOP n] col, …
from: ContainsExprFROM <containsExpr>
where_: Option<WhereExpr>WHERE <whereExpr>
order_by: Vec<OrderByExpr>ORDER BY …
limit: Option<Limit>LIMIT n [OFFSET m]
Trait Implementations§
Source§impl Clone for SelectQuery
impl Clone for SelectQuery
Source§impl Debug for SelectQuery
impl Debug for SelectQuery
Source§impl PartialEq for SelectQuery
impl PartialEq for SelectQuery
impl StructuralPartialEq for SelectQuery
Auto Trait Implementations§
impl Freeze for SelectQuery
impl RefUnwindSafe for SelectQuery
impl Send for SelectQuery
impl Sync for SelectQuery
impl Unpin for SelectQuery
impl UnsafeUnpin for SelectQuery
impl UnwindSafe for SelectQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.