pub struct Cte {
pub alias: TableAlias,
pub query: Box<Query>,
pub from: Option<Located<Ident>>,
}
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
§query: Box<Query>
§from: Option<Located<Ident>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Cte
impl<'de> Deserialize<'de> for Cte
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Cte
impl Ord for Cte
source§impl PartialOrd<Cte> for Cte
impl PartialOrd<Cte> for Cte
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more