Database Reference
In-Depth Information
Utilizing mongo
After starting the database server, we need to interact with it to issue a command, run
commands, run queries, or get reports. In the MongoDB structure, the mongo file is re-
sponsible for this task. This is an interactive JavaScript shell that you can utilize from
your command-line environment.
Using this executable file, database administrators and also developers can manage the
database server or get available databases and collections.
The following screenshot is the result of running the mongo command:
Fortunately, the mongo component provides internal help so that developers can use it to
get more information for each command.
The following screenshot shows you the result of running the help command:
Search WWH ::




Custom Search