Require WRITTEN confirmation of Drop Collection
The command to drop a collection is (I think) way too easy to run without intending to. It makes such a fundamental change to data, that I would prefer to see a requirement, similar to that of AWS S3 when deleting bucket contents, or typing in a confirmation such as “drop [collection name]”. At the moment it is too easy (with a hotkey return) to permanently delete data. Also, I find new users of MongoDB are easily confused by the similar-sounding “Drop” and “Disconnect”, so this requirement would help protect against accidental deletion.
1
vote
Ian Winter
shared this idea
-
Ian Winter commented
Typo in the above: “or typing” should be “of typing”.