pub struct RecursiveQueue {
pub order_by: Vec<BoundOrderTerm>,
pub limit: Option<BoundExpr>,
pub offset: Option<BoundExpr>,
}Expand description
What a recursive CTE’s own ORDER BY, LIMIT and OFFSET mean to the loop
that fills it.
The ORDER BY decides which queued row is taken next, so ORDER BY depth DESC walks depth first, and the LIMIT stops the recursion once that many
rows have been produced after the OFFSET.
Fields§
§order_by: Vec<BoundOrderTerm>The terms that order the queue; empty for first in, first out.
limit: Option<BoundExpr>The LIMIT.
offset: Option<BoundExpr>The OFFSET.
Trait Implementations§
Source§impl Clone for RecursiveQueue
impl Clone for RecursiveQueue
Source§impl Debug for RecursiveQueue
impl Debug for RecursiveQueue
Source§impl PartialEq for RecursiveQueue
impl PartialEq for RecursiveQueue
impl StructuralPartialEq for RecursiveQueue
Auto Trait Implementations§
impl !Send for RecursiveQueue
impl !Sync for RecursiveQueue
impl Freeze for RecursiveQueue
impl RefUnwindSafe for RecursiveQueue
impl Unpin for RecursiveQueue
impl UnsafeUnpin for RecursiveQueue
impl UnwindSafe for RecursiveQueue
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