[DOCS]: Clarify behavior of onConflictDoX when inserting multiple values at once #4065
Open
1 task done
Labels
docs
Improvements or additions to documentation
Enhancement hasn't been filed before.
Describe the enhancement you want to request
The docs currently suggest that the
onConflictDoNothing
method "cancels the insert" when a conflict is found - but the docs only include examples for single insert - not multiple value inserts.Does this mean that if I am inserting a batch of 100 records and one of them has a conflict, the entire insert (of all 100 records) is canceled? Or do the other 99 still get inserted?
E.g.
I suggest updating the docs to clarify what the behavior is.
Edit: Based on quick, rough testing, it appears that the entire batch of inserts is cancelled if there are any conflicts within the batch - would be nice to have this explicitly stated in the docs.
The text was updated successfully, but these errors were encountered: