Legacy mongo Shell (original) (raw)

Warning

The mongo shell has been deprecated in MongoDB v5.0. The replacement is mongosh.

Older mongo shell documentation is included with the corresponding documentation for that MongoDB release.

For the legacy mongo shell documentation, refer to thelegacy documentationfor the corresponding MongoDB Server release.