April 2018
Beginner
226 pages
4h 47m
English
The MongoDB provides built-in shell or Terminal access to the databases and performs raw operations. Let's insert simple JSON data into a collection called customers.
Assuming our mongod service is already running on the system, open a new Terminal. Type the command mongo to open a new mongo shell followed by one more command, called show dbs. This will provide the following view in the Terminal:

show dbs provides the list of the databases present in the mongoDB 's /data/db directory we configured previously.
We can note one more command, called use test. use is a powerful command that either creates a new database and selects ...
Read now
Unlock full access