//! Common table expressions (`WITH name AS (...)`) for `SQLite`.
//!
//! Make one with [`into_cte`](super::QueryBuilder::into_cte) and add it to a
//! query with [`QueryBuilder::with`](super::QueryBuilder::with).
use crateSQLiteValue;
/// A common table expression that can be passed to
/// [`QueryBuilder::with`](super::QueryBuilder::with).
///
/// Implemented for every [`CTEView`], which
/// [`into_cte`](super::QueryBuilder::into_cte) returns.
/// A named SELECT used as a common table expression.
///
/// Created by [`into_cte`](super::QueryBuilder::into_cte). It derefs to an
/// aliased copy of the source table, so `cte.column` gives typed column
/// references that render as `"cte_name"."column"`.
pub type CTEView<'a, Table, Query> = CTEView;