In this next section, we will focus primarily on the various ways to perform standard create, read, update, delete (CRUD) operations via the Mongo shell.
To access the Mongo shell, simply execute
mongo from any terminal. The Mongo shell requires the
mongod server to be currently running and available on the machine, as the first thing it does is connect to the server. Use the following command to access ...