Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5753

JSON editor is the only way to change _id

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • CRUD
    • None
    • 8
    • Iteration Eel

    Description

      Since COMPASS-4345, Compass uses findOneAndUpdate to modify documents in the document/table views, and findOneAndReplace in the JSON view. That means that only the JSON view supports changing _id, which is not necessarily obvious or intuitive.

      See: https://github.com/mongodb-js/compass/issues/2960#issuecomment-1100053941

      Attachments

        Activity

          People

            Unassigned Unassigned
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: