Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-123

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.0
    • None
    • None

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

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: