-
Couldn't load subscription status.
- Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Description
Insert a batch of documents, skipping duplicates (on unique indexes, i.e. E11000 duplicate key error).
Desired solution
Expose ordered option on POST /bulk endpoints. Default value is true, and mongo stop operation on first invalid object in the queue, otherwise if specified as false the operation would continue and it insert all valid documents, returning an array writeErrors
Possible alternatives
It can be managed also with PATCH /bulk, with upsert: true, maybe the same requested on #11
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request