pub struct CommonTableExpr<'bump> {
pub tbl_name: Name<'bump>,
pub columns: Option<&'bump [IndexedColumn<'bump>]>,
pub materialized: Materialized,
pub select: &'bump Select<'bump>,
}Expand description
CTE
Fields§
§tbl_name: Name<'bump>table name
columns: Option<&'bump [IndexedColumn<'bump>]>table columns
materialized: MaterializedMATERIALIZED
select: &'bump Select<'bump>query
Implementations§
Source§impl<'bump> CommonTableExpr<'bump>
impl<'bump> CommonTableExpr<'bump>
Sourcepub fn new(
tbl_name: Name<'bump>,
columns: Option<Vec<'bump, IndexedColumn<'bump>>>,
materialized: Materialized,
select: Select<'bump>,
b: &'bump Bump,
) -> Result<Self, ParserError>
pub fn new( tbl_name: Name<'bump>, columns: Option<Vec<'bump, IndexedColumn<'bump>>>, materialized: Materialized, select: Select<'bump>, b: &'bump Bump, ) -> Result<Self, ParserError>
Constructor
Trait Implementations§
Source§impl<'bump> Debug for CommonTableExpr<'bump>
impl<'bump> Debug for CommonTableExpr<'bump>
impl<'bump> Eq for CommonTableExpr<'bump>
Source§impl<'bump> PartialEq for CommonTableExpr<'bump>
impl<'bump> PartialEq for CommonTableExpr<'bump>
Source§fn eq(&self, other: &CommonTableExpr<'bump>) -> bool
fn eq(&self, other: &CommonTableExpr<'bump>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'bump> StructuralPartialEq for CommonTableExpr<'bump>
Auto Trait Implementations§
impl<'bump> !RefUnwindSafe for CommonTableExpr<'bump>
impl<'bump> !Send for CommonTableExpr<'bump>
impl<'bump> !Sync for CommonTableExpr<'bump>
impl<'bump> !UnwindSafe for CommonTableExpr<'bump>
impl<'bump> Freeze for CommonTableExpr<'bump>
impl<'bump> Unpin for CommonTableExpr<'bump>
impl<'bump> UnsafeUnpin for CommonTableExpr<'bump>
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.