Return server-generated _id from upsert

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      getLastError after an old-style upsert includes the server-generated _id. Some application developers rely on this information. To preserve the same functionality in the update command with upserts, the command should also return server-generated _ids when an upsert results in an insert.

            Assignee:
            Gregory McKeon (Inactive)
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: