[−][src]Struct postgres_parser::sys::CreateTableAsStmt
CREATE TABLE AS Statement (a/k/a SELECT INTO)
A query written as CREATE TABLE AS will produce this node type natively. A query written as SELECT ... INTO will be transformed to this form during parse analysis. A query written as CREATE MATERIALIZED view will produce this node type, during parse analysis, since it needs all the same data.
The "query" field is handled similarly to EXPLAIN, though note that it can be a SELECT or an EXECUTE, but not other DML statements.
Fields
type_: NodeTag
query: *mut Node
into: *mut IntoClause
the query (see comments above)
relkind: ObjectType
destination table
is_select_into: bool
OBJECT_TABLE or OBJECT_MATVIEW
if_not_exists: bool
it was written as SELECT INTO
Trait Implementations
impl Debug for CreateTableAsStmt
[src]
impl Default for CreateTableAsStmt
[src]
impl Eq for CreateTableAsStmt
[src]
impl Hash for CreateTableAsStmt
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CreateTableAsStmt> for CreateTableAsStmt
[src]
fn eq(&self, other: &CreateTableAsStmt) -> bool
[src]
fn ne(&self, other: &CreateTableAsStmt) -> bool
[src]
impl StructuralEq for CreateTableAsStmt
[src]
impl StructuralPartialEq for CreateTableAsStmt
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateTableAsStmt
impl !Send for CreateTableAsStmt
impl !Sync for CreateTableAsStmt
impl Unpin for CreateTableAsStmt
impl UnwindSafe for CreateTableAsStmt
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,