mongosh

MongoDB shell

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
mongodump --db <db> --out backup/Back up first
What it does

Interactive MongoDB shell. See the flags and examples below, and run `man mongosh` for the full reference.

Examples
mongosh "mongodb://host/db"Connect · explain & risk-check →
mongosh --eval "db.stats()"Run a command · explain & risk-check →
Related
mongodump
Open the full explainer →More in Databases

Reference text is hand-written and may be incomplete — check man mongosh for your version. Test destructive commands on a non-production system first.