Hi people, im trying to use InsertBulk to get the error object that tells me which documents failed, with the intention of avoiding doing field uniqueness checks. But i find that inside transaction InsertBulk aborts transaction and only retrieves first document that failed. Forcing me to have to do uniqueness checks before calling InsertBulk when working with transaction.
There is any workaround for this that avoids me to do uniqueness checks?
If not then why InsertBulk its working like this?
Here a stackoverflow link related to this topic:
I mean yes i know this is how its inteded to work since its stated in docs, but why? wouldn’t be more useful to retrieve full list of docs that failed at least?
Ty.
AgCaliva