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

JSON editor is the only way to change _id

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: CRUD
    • None
    • 8
    • Iteration Eel

      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

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

              Created:
              Updated: