pub struct Select {
pub with: Option<With>,
pub body: SelectBody,
pub order_by: Option<Vec<SortedColumn>>,
pub limit: Option<Limit>,
}
Expand description
SELECT
statement
Fields§
§with: Option<With>
CTE
body: SelectBody
body
order_by: Option<Vec<SortedColumn>>
ORDER BY
limit: Option<Limit>
LIMIT
Implementations§
Source§impl Select
impl Select
Sourcepub fn new(
with: Option<With>,
body: SelectBody,
order_by: Option<Vec<SortedColumn>>,
limit: Option<Limit>,
) -> Result<Self, ParserError>
pub fn new( with: Option<With>, body: SelectBody, order_by: Option<Vec<SortedColumn>>, limit: Option<Limit>, ) -> Result<Self, ParserError>
Constructor
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.