Question: 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
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 decides to use NoSQL MongoDB to capture this information and include the following:
- Create a new collection of hotel documents.
- Create a minimum of three hotel documents; for each document, capture its name, address, and numeric rating for each of the hotel documents.
- Show all the data.
- Update the documents to add amenities (e.g., free Wi-Fi, breakfast) for each hotel.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
