merge_insert_into_table

Function merge_insert_into_table 

Source
pub async fn merge_insert_into_table(
    configuration: &Configuration,
    id: &str,
    on: &str,
    body: Vec<u8>,
    delimiter: Option<&str>,
    when_matched_update_all: Option<bool>,
    when_matched_update_all_filt: Option<&str>,
    when_not_matched_insert_all: Option<bool>,
    when_not_matched_by_source_delete: Option<bool>,
    when_not_matched_by_source_delete_filt: Option<&str>,
) -> Result<MergeInsertIntoTableResponse, Error<MergeInsertIntoTableError>>
Expand description

Performs a merge insert (upsert) operation on table id. This operation updates existing rows based on a matching column and inserts new rows that don’t match. It returns the number of rows inserted and updated. REST NAMESPACE ONLY REST namespace uses Arrow IPC stream as the request body. It passes in the MergeInsertIntoTableRequest information in the following way: - id: pass through path parameter of the same name - on: pass through query parameter of the same name - when_matched_update_all: pass through query parameter of the same name - when_matched_update_all_filt: pass through query parameter of the same name - when_not_matched_insert_all: pass through query parameter of the same name - when_not_matched_by_source_delete: pass through query parameter of the same name - when_not_matched_by_source_delete_filt: pass through query parameter of the same name