InterviewSolution
Saved Bookmarks
| 1. |
What is the Mongo Shell? |
|
Answer» It is a JavaScript shell that allows interaction with a MongoDB instance from the COMMAND LINE. With that one can perform administrative functions, inspecting an instance, or EXPLORING MongoDB. To start the shell, run the mongo EXECUTABLE: $ mongod$ mongoMongoDB shell version: 4.2.0connecting to: test>The shell is a full-featured JavaScript interpreter, capable of running arbitrary JavaScript programs. Let’s see how basic math works on this: > x = 100;200> x / 5;20 |
|