Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2499

Document that MongoCollection#insertMany throws exception if document list is null or empty

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • Fully Compatible
    • Not Needed

      To clarify proper usage, provide additional Javadoc for MongoCollection#insertMany specifying that it throws an IllegalArgumentException if the documents list is either null or empty, or any of the documents within the list are null.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: