Home »
MCQs »
MongoDB MCQs
In MongoDB, the mongofiles utility makes it possible to manipulate files stored in your MongoDB
49. In MongoDB, the mongofiles utility makes it possible to manipulate files stored in your MongoDB.
- True
- False
Answer: A) True
Explanation:
The mongofiles utility allows you to manipulate files stored in your MongoDB instance in GridFS objects directly from the command line using the MongoDB command line interface. It is particularly useful because it serves as a bridge between objects stored in your file system and GridFS, which is extremely convenient. The following are the components of the mongofiles command:
- We can control the behaviour of mongofiles by using one or more of the options listed above.
- To determine the behaviour of mongofiles, use one of the following commands.
- This filename can be one of two things: the name of a file on your local file system, or the name of a GridFS object.