pub struct CreateTable {
pub name: QualifiedName,
pub columns: Vec<Field>,
pub source: Option<Plan>,
pub if_not_exists: bool,
pub or_replace: bool,
}Expand description
A bound CREATE TABLE.
Fields§
§name: QualifiedNameThe full name the table gets.
columns: Vec<Field>The columns, in order, with the types already resolved. For a CREATE TABLE AS these are
the query’s output types under whatever names the statement or the query gave them.
source: Option<Plan>The query to fill it from, for a CREATE TABLE AS.
if_not_exists: boolWhether an existing table of that name is left alone rather than being an error.
or_replace: boolWhether an existing table of that name is dropped first.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateTable
impl RefUnwindSafe for CreateTable
impl Send for CreateTable
impl Sync for CreateTable
impl Unpin for CreateTable
impl UnsafeUnpin for CreateTable
impl UnwindSafe for CreateTable
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