Overview

The mongo is an executable installed as part of MongoDB.  When run, this utility provides an interactive JavaScript command line style interface to the MongoDB database. You can use the shell to perform any and all actions on the MongoDB database including queries, adding, editing, and removing documents from collections. You can also perform higher level operations such as creating a database and collections.

Get MongoDB 4 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.