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§
impl Eq for Insert
impl StructuralPartialEq for Insert
Auto Trait Implementations§
impl Freeze for Insert
impl RefUnwindSafe for Insert
impl Send for Insert
impl Sync for Insert
impl Unpin for Insert
impl UnwindSafe for Insert
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