[−][src]Struct postgres_parser::nodes::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
query: Option<Box<Node>>
into: Option<Box<IntoClause>>
relkind: ObjectType
is_select_into: bool
if_not_exists: bool
Trait Implementations
impl Debug for CreateTableAsStmt
[src]
impl<'de> Deserialize<'de> for CreateTableAsStmt
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for CreateTableAsStmt
[src]
impl PartialEq<CreateTableAsStmt> for CreateTableAsStmt
[src]
fn eq(&self, other: &CreateTableAsStmt) -> bool
[src]
fn ne(&self, other: &CreateTableAsStmt) -> bool
[src]
impl Serialize for CreateTableAsStmt
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,