[JAVA-2499] Document that MongoCollection#insertMany throws exception if document list is null or empty Created: 19/Apr/17 Updated: 29/Oct/23 Resolved: 17/May/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 17/May/22 ] |
|
Author: {'name': 'Sammy Tran', 'email': '48728844+sammytran277@users.noreply.github.com', 'username': 'sammytran277'}Message: Document IllegalArgumentException for bulk insert (#935)
|