Perform a merge-insert operation (upsert) on a table by combining insert, update, and delete operations based on matching criteria. This endpoint enables sophisticated data synchronization patterns for keeping tables in sync with external data sources.
name of the table
The column(s) to match on for determining insert/update/delete operations. Should be a unique identifier or primary key for reliable upsert behavior.
"id"
Whether to update all columns when a matching record is found in the target table.
Set to true
for full record updates, false
to skip updates.
Additional filter to apply when updating matched records.
Only records matching both the on
condition and this filter will be updated.
"category = 'shoes'"
Whether to insert all columns when no matching record is found in the target table.
Set to true
for inserting new records, false
to skip inserts.
Whether to delete records in the target table that don't exist in the source data. Useful for keeping tables synchronized with external data sources.
Additional filter to apply when deleting unmatched records. Only records matching this filter will be deleted if not present in source.
"category = 'shoes'"
Arrow IPC stream buffer
The body is of type file
.
Merge-insert successful