[SERVER-5573] getlasterror after batch insert should report the number of documents successfully inserted Created: 11/Apr/12  Updated: 10/Dec/14  Resolved: 19/Sep/13

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-9038 New write operation method for insert... Closed
Related
Participants:

 Description   

Currently the 'n' field in getlasterror is always set to 0 after an insert.



 Comments   
Comment by ning [ 14/Mar/14 ]

this will be useful.

Comment by Eliot Horowitz (Inactive) [ 19/Sep/13 ]

This will be included as part of SERVER-9038 which is in 2.6

Not in getLastError because that's going away, but in the result doc.

Generated at Thu Feb 08 03:09:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.