Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3158

Inserting (as update with upset) DBRef in _id.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 1.8.0-rc2, 1.9.0
    • None
    • Write Ops
    • Linux 2.6.38-9-generic #43-Ubuntu x86_64 GNU/Linux,
    • Linux

    Description

      db.sessions.update({"_id": {$ref: "users", $id: "matew12"}}, {$push:{"sessions":ObjectId()}}, true);

      I try insert (as update) DBRef into _id, but it insert new ObjectId.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matew12 Matew
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: