pub struct CompoundQuery<'a> {
pub left: Box<Statement<'a>>,
pub with: Vec<CompoundQueryBranch<'a>>,
pub order_by: Option<(Span, Vec<(Expression<'a>, OrderFlag)>)>,
pub limit: Option<(Span, Option<Expression<'a>>, Expression<'a>)>,
}Expand description
Compound query statement
Fields§
§left: Box<Statement<'a>>Left side of compound query
with: Vec<CompoundQueryBranch<'a>>Branches combined with the left side
order_by: Option<(Span, Vec<(Expression<'a>, OrderFlag)>)>Span of “ORDER BY”, and list of ordering expressions and directions if specified
limit: Option<(Span, Option<Expression<'a>>, Expression<'a>)>Span of “LIMIT”, offset and count expressions if specified
Trait Implementations§
Source§impl<'a> Clone for CompoundQuery<'a>
impl<'a> Clone for CompoundQuery<'a>
Source§fn clone(&self) -> CompoundQuery<'a>
fn clone(&self) -> CompoundQuery<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CompoundQuery<'a>
impl<'a> Debug for CompoundQuery<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompoundQuery<'a>
impl<'a> RefUnwindSafe for CompoundQuery<'a>
impl<'a> Send for CompoundQuery<'a>
impl<'a> Sync for CompoundQuery<'a>
impl<'a> Unpin for CompoundQuery<'a>
impl<'a> UnsafeUnpin for CompoundQuery<'a>
impl<'a> UnwindSafe for CompoundQuery<'a>
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