[JAVA-123] Change Return Type on Insert/Delete/Save/Update to CommandResult Created: 18/Jun/10 Updated: 11/Jul/10 Resolved: 11/Jul/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.0 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If getLastError() is called, when WriteConcern.STRICT, then return that value back to the client. This will cut down on duplicated getLastError() calls, and round-trips, to the server. Once this (http://jira.mongodb.org/browse/SERVER-1173) is done it will be even more useful since the new _id will be returned from the update (with upsert). |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 11/Jul/10 ] |
|
Handled this a different way |