pub struct Select<'bump> {
pub with: Option<With<'bump>>,
pub body: SelectBody<'bump>,
pub order_by: Option<&'bump [SortedColumn<'bump>]>,
pub limit: Option<&'bump Limit<'bump>>,
}Expand description
SELECT statement
Fields§
§with: Option<With<'bump>>CTE
body: SelectBody<'bump>body
order_by: Option<&'bump [SortedColumn<'bump>]>ORDER BY
limit: Option<&'bump Limit<'bump>>LIMIT
Implementations§
Source§impl<'bump> Select<'bump>
impl<'bump> Select<'bump>
Sourcepub fn new(
with: Option<With<'bump>>,
body: SelectBody<'bump>,
order_by: Option<Vec<'bump, SortedColumn<'bump>>>,
limit: Option<&'bump Limit<'bump>>,
) -> Result<Self, ParserError>
pub fn new( with: Option<With<'bump>>, body: SelectBody<'bump>, order_by: Option<Vec<'bump, SortedColumn<'bump>>>, limit: Option<&'bump Limit<'bump>>, ) -> Result<Self, ParserError>
Constructor
Trait Implementations§
impl<'bump> Eq for Select<'bump>
Source§impl<'bump> PartialEq for Select<'bump>
impl<'bump> PartialEq for Select<'bump>
impl<'bump> StructuralPartialEq for Select<'bump>
Auto Trait Implementations§
impl<'bump> !RefUnwindSafe for Select<'bump>
impl<'bump> !Send for Select<'bump>
impl<'bump> !Sync for Select<'bump>
impl<'bump> !UnwindSafe for Select<'bump>
impl<'bump> Freeze for Select<'bump>
impl<'bump> Unpin for Select<'bump>
impl<'bump> UnsafeUnpin for Select<'bump>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.