[JAVA-2550] Add "inserted Ids" to BulkWriteResult Created: 10/Jul/17  Updated: 27/Nov/19  Resolved: 27/Nov/19

Status: Closed
Project: Java Driver
Component/s: Write Operations
Affects Version/s: 3.4.2
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: JonᚠObdržálek Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates JAVA-1788 Insert method should return a result ... Closed

 Description   

The result of bulk operation (BulkWriteResult in Java driver doesn't contain "inserted ids" attribute as opposed to Ruby driver write result object . Attribute should contain array of ObjectId of all successfully inserted documents, if the bulk operation has inserts.



 Comments   
Comment by Jeffrey Yemin [ 27/Nov/19 ]

Duplicates JAVA-1788

Comment by Jeffrey Yemin [ 27/Nov/19 ]

This has been addressed in scope of JAVA-1788 with the addition of the List<BulkWriteInsert> getInserts() method to BulkWriteResult

 

Generated at Thu Feb 08 08:57:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.