pub struct CteDef {
pub name: String,
pub query: Box<QueryStmt>,
pub recursive: bool,
pub column_names: Option<Vec<String>>,
pub materialized: Option<CteMaterialized>,
}Expand description
Common Table Expression (WITH clause).
Fields§
§name: String§query: Box<QueryStmt>§recursive: bool§column_names: Option<Vec<String>>Explicit column names: WITH cte(a, b) AS (...).
materialized: Option<CteMaterialized>PG: MATERIALIZED / NOT MATERIALIZED hint.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CteDef
impl !RefUnwindSafe for CteDef
impl Send for CteDef
impl Sync for CteDef
impl Unpin for CteDef
impl UnsafeUnpin for CteDef
impl !UnwindSafe for CteDef
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