MongoDB is a so-called document-oriented NoSQL database organized around collections of documents. In this assignment, students install and use MongoDB to create and manage hotel documents.
Suppose that you work for a company that collects information about hotels. Data collected contains information such as hotel rates, room types, and amenities. Your company decided to use NoSQL MongoDB to capture this information and include the following:
1. Create a new collection of hotel documents.
2. Create a minimum of three hotel documents and for each document, capture its name, address, and numeric rating for each of the hotel documents.
3. Show all the data.
4. Update the documents to add amenities like free wifi and breakfast for each hotel.



Answer :

Other Questions