pub struct CteSearch {
pub order: SearchOrder,
pub columns: Vec<Cow<'static, str>>,
pub set: Cow<'static, str>,
}Expand description
SEARCH { BREADTH | DEPTH } FIRST BY <cols> SET <col>
PostgreSQL rewrites a recursive CTE with this into one that carries an ordering column, so the column list decides whether the clause exists at all.
Fields§
§order: SearchOrderBreadth-first or depth-first.
columns: Vec<Cow<'static, str>>The columns that identify a row, quoted.
set: Cow<'static, str>The name of the ordering column to add, quoted.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CteSearch
impl RefUnwindSafe for CteSearch
impl Send for CteSearch
impl Sync for CteSearch
impl Unpin for CteSearch
impl UnsafeUnpin for CteSearch
impl UnwindSafe for CteSearch
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