pub struct Cte {
pub name: String,
pub body: SelectStatement,
pub recursive: bool,
pub column_overrides: Vec<String>,
}Fields§
§name: String§body: SelectStatement§recursive: boolv4.22: WITH RECURSIVE — set when the WITH clause had the
RECURSIVE keyword. Applies to every CTE in the clause per
PG semantics. A non-recursive body in a RECURSIVE WITH is
allowed; the engine just runs it once.
column_overrides: Vec<String>v4.22: optional WITH name(a, b, c) column-name list. When
non-empty, these override the body’s output column names
position-by-position; the engine errors out if the count
doesn’t match the body’s projection width.
Trait Implementations§
impl StructuralPartialEq for Cte
Auto Trait Implementations§
impl Freeze for Cte
impl RefUnwindSafe for Cte
impl Send for Cte
impl Sync for Cte
impl Unpin for Cte
impl UnsafeUnpin for Cte
impl UnwindSafe for Cte
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