pub struct MergeInsertIntoTableRequest {
pub id: Option<Vec<String>>,
pub on: Option<String>,
pub when_matched_update_all: Option<bool>,
pub when_matched_update_all_filt: Option<String>,
pub when_not_matched_insert_all: Option<bool>,
pub when_not_matched_by_source_delete: Option<bool>,
pub when_not_matched_by_source_delete_filt: Option<String>,
}
Expand description
MergeInsertIntoTableRequest : Request for merging or inserting records into a table, excluding the Arrow IPC stream.
Fields§
§id: Option<Vec<String>>
§on: Option<String>
Column name to use for matching rows (required)
when_matched_update_all: Option<bool>
Update all columns when rows match
when_matched_update_all_filt: Option<String>
The row is updated (similar to UpdateAll) only for rows where the SQL expression evaluates to true
when_not_matched_insert_all: Option<bool>
Insert all columns when rows don’t match
when_not_matched_by_source_delete: Option<bool>
Delete all rows from target table that don’t match a row in the source table
when_not_matched_by_source_delete_filt: Option<String>
Delete rows from the target table if there is no match AND the SQL expression evaluates to true
Implementations§
Source§impl MergeInsertIntoTableRequest
impl MergeInsertIntoTableRequest
Sourcepub fn new() -> MergeInsertIntoTableRequest
pub fn new() -> MergeInsertIntoTableRequest
Request for merging or inserting records into a table, excluding the Arrow IPC stream.
Trait Implementations§
Source§impl Clone for MergeInsertIntoTableRequest
impl Clone for MergeInsertIntoTableRequest
Source§fn clone(&self) -> MergeInsertIntoTableRequest
fn clone(&self) -> MergeInsertIntoTableRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MergeInsertIntoTableRequest
impl Debug for MergeInsertIntoTableRequest
Source§impl Default for MergeInsertIntoTableRequest
impl Default for MergeInsertIntoTableRequest
Source§fn default() -> MergeInsertIntoTableRequest
fn default() -> MergeInsertIntoTableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MergeInsertIntoTableRequest
impl<'de> Deserialize<'de> for MergeInsertIntoTableRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MergeInsertIntoTableRequest
Auto Trait Implementations§
impl Freeze for MergeInsertIntoTableRequest
impl RefUnwindSafe for MergeInsertIntoTableRequest
impl Send for MergeInsertIntoTableRequest
impl Sync for MergeInsertIntoTableRequest
impl Unpin for MergeInsertIntoTableRequest
impl UnwindSafe for MergeInsertIntoTableRequest
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