Concept Flow - Ordered vs unordered inserts
Start Insert Operation
Is Ordered Insert?
No→Insert All Documents, Continue on Errors
|Yes
Insert Documents One by One
Stop on First Error
End Insert Operation
The insert operation checks if it is ordered. If ordered, it inserts documents one by one and stops on the first error. If unordered, it inserts all documents and continues even if some fail.