Struct sql_parser::ast::defs::query::Cte [−][src]
pub struct Cte<T: AstInfo> {
pub alias: TableAlias,
pub id: T::Id,
pub query: Query<T>,
}
Expand description
A single CTE (used after WITH
): alias [(col1, col2, ...)] AS ( query )
The names in the column list before AS
, when specified, replace the names
of the columns returned by the query. The parser does not validate that the
number of columns in the query matches the number of columns in the query.
Fields
alias: TableAlias
id: T::Id
query: Query<T>
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Cte<T> where
<T as AstInfo>::Id: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> UnwindSafe for Cte<T> where
<T as AstInfo>::Id: UnwindSafe,
<T as AstInfo>::ObjectName: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more