pub struct WithClause {
pub recursive: bool,
pub ctes: Vec<Cte>,
}Expand description
WITH clause for common table expressions.
Fields§
§recursive: boolWhether this is WITH RECURSIVE.
ctes: Vec<Cte>The CTE definitions.
Implementations§
Source§impl WithClause
impl WithClause
Sourcepub fn normalize_recursive(&mut self)
pub fn normalize_recursive(&mut self)
SQLite treats the RECURSIVE keyword as optional: a CTE whose body
references its own name as a table source is recursive whether or not
RECURSIVE was written. Promote recursive to true in that case so the
recursive-CTE machinery engages for WITH cte AS (... FROM cte ...).
Trait Implementations§
Source§impl Clone for WithClause
impl Clone for WithClause
Source§fn clone(&self) -> WithClause
fn clone(&self) -> WithClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WithClause
impl Debug for WithClause
Source§impl Display for WithClause
impl Display for WithClause
Source§impl PartialEq for WithClause
impl PartialEq for WithClause
impl StructuralPartialEq for WithClause
Auto Trait Implementations§
impl Freeze for WithClause
impl RefUnwindSafe for WithClause
impl Send for WithClause
impl Sync for WithClause
impl Unpin for WithClause
impl UnsafeUnpin for WithClause
impl UnwindSafe for WithClause
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