Struct sqlite3_parser::ast::CommonTableExpr
source · pub struct CommonTableExpr {
pub tbl_name: Name,
pub columns: Option<Vec<IndexedColumn>>,
pub materialized: Materialized,
pub select: Select,
}
Expand description
CTE
Fields§
§tbl_name: Name
table name
columns: Option<Vec<IndexedColumn>>
table columns
materialized: Materialized
MATERIALIZED
select: Select
query
Implementations§
source§impl CommonTableExpr
impl CommonTableExpr
sourcepub fn add_cte(
ctes: &mut Vec<CommonTableExpr>,
cte: CommonTableExpr,
) -> Result<(), ParserError>
pub fn add_cte( ctes: &mut Vec<CommonTableExpr>, cte: CommonTableExpr, ) -> Result<(), ParserError>
Constructor
Trait Implementations§
source§impl Clone for CommonTableExpr
impl Clone for CommonTableExpr
source§fn clone(&self) -> CommonTableExpr
fn clone(&self) -> CommonTableExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommonTableExpr
impl Debug for CommonTableExpr
source§impl PartialEq for CommonTableExpr
impl PartialEq for CommonTableExpr
source§fn eq(&self, other: &CommonTableExpr) -> bool
fn eq(&self, other: &CommonTableExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToTokens for CommonTableExpr
impl ToTokens for CommonTableExpr
impl Eq for CommonTableExpr
impl StructuralPartialEq for CommonTableExpr
Auto Trait Implementations§
impl Freeze for CommonTableExpr
impl RefUnwindSafe for CommonTableExpr
impl Send for CommonTableExpr
impl Sync for CommonTableExpr
impl Unpin for CommonTableExpr
impl UnwindSafe for CommonTableExpr
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.