//! Common table expression (`WITH`) types for `PostgreSQL` queries.
//!
//! Build a CTE with a SELECT builder's `.into_cte::<Tag>()`, then pass it to
//! [`QueryBuilder::with`](crate::builder::QueryBuilder::with).
use cratePostgresValue;
/// Something that can be listed in a `PostgreSQL` `WITH` clause.
///
/// Implemented for every core [`CTEDefinition`](drizzle_core::cte::CTEDefinition)
/// over [`PostgresValue`].
/// A named `PostgreSQL` CTE that can be read like a table.
///
/// See [`drizzle_core::cte::CTEView`].
pub type CTEView<'a, Table, Query> =
CTEView;