-
Type: Task
-
Resolution: Unresolved
-
Priority: 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
- related to
-
COMPASS-5528 Compass replaces whole array if you update one field in an array of objects
- Closed
-
COMPASS-4345 Compass does a replace instead of an update when documents are edited.
- Closed