Only show the "Remove Document..." option in the right-click menu if the right-click is on the root level of the document
If I right-click on an array element that is nested deep within a document with the intention of deleting it, it is easy to accidentally click "Remove Document" instead of "Remove Element". Then the entire document is deleted, and there is not an easy recovery option in MongoDB except to restore from backup. Only showing "Remove Element" when I right-click on an element would help to stop this. Not sure how difficult it would be to change this, but if it's a simple fix then it would sure save a lot of headache when your users make a mistake (as us humans are prone to doing occassionally)!
1
vote
Lachy
shared this idea