InsertMany should not stop on error

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.2
    • Component/s: Async
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Following scenario:
      Writing thousands of entries to my MongoDb with insertMany.
      If there are Problems (e.g. duplicate keys) the operation stops and I get one error in my callback.

      would it be better to track that error and proceed inserting all other entries?
      To show all errors the callback could give a list of throwables, instead of a single throwable.

            Assignee:
            Unassigned
            Reporter:
            Ben [X]
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: