pub struct Cte {
pub name: String,
pub query: Select,
pub columns: Vec<String>,
pub recursive: bool,
}Expand description
A common table expression: name [(columns)] AS (query).
PHP: Utopia\Query\AST\Definition\Cte (name, query, columns, recursive).
Fields§
§name: StringThe name.
query: SelectThe query.
columns: Vec<String>The column names.
recursive: boolWhether it is recursive (any recursive CTE makes the WITH recursive).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Cte
Auto Trait Implementations§
impl !Freeze for Cte
impl Forget for Cte
impl Move for Cte
impl RefUnwindSafe for Ctewhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Cte
impl Sync for Cte
impl Unpin for Cte
impl UnsafeUnpin for Ctewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const Select is !null: UnsafeUnpin,
PhantomData<Select>: UnsafeUnpin,
PhantomData<JoinClause>: UnsafeUnpin,
*const Expression is !null: UnsafeUnpin,
PhantomData<CaseWhen>: UnsafeUnpin,
*const WindowSpecification is !null: UnsafeUnpin,
PhantomData<WindowSpecification>: UnsafeUnpin,
&'static [u8]: UnsafeUnpin,
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const ArcInner<Repr<Object>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Repr<Object>>>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<OrderByItem>: UnsafeUnpin,
PhantomData<Cte>: UnsafeUnpin,
PhantomData<WindowDefinition>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Ctewhere
RawVecInner: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
BoxRaw<Select>: UnwindSafe,
BoxRaw<WindowSpecification>: UnwindSafe,
&'static [u8]: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
Arc<Repr<Object>>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
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