Change Return Type on Insert/Delete/Save/Update to CommandResult

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Scott Hernandez (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: