Struct models_parser::ast::Insert [−][src]
pub struct Insert {
pub or: Option<SqliteOnConflict>,
pub table_name: ObjectName,
pub columns: Vec<Ident>,
pub overwrite: bool,
pub source: Box<Query>,
pub partitioned: Option<Vec<Expr>>,
pub after_columns: Vec<Ident>,
pub table: bool,
}
Fields
or: Option<SqliteOnConflict>
Only for Sqlite
table_name: ObjectName
TABLE
columns: Vec<Ident>
COLUMNS
overwrite: bool
Overwrite (Hive)
source: Box<Query>
A SQL query that specifies what to insert
partitioned: Option<Vec<Expr>>
partitioned insert (Hive)
after_columns: Vec<Ident>
Columns defined after PARTITION
table: bool
whether the insert has the table keyword (Hive)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Insert
impl UnwindSafe for Insert
Blanket Implementations
Mutably borrows from an owned value. Read more