09 Cloud Computing Final 09 Task Performance 1 ARG PDF
09 Cloud Computing Final 09 Task Performance 1 ARG PDF
09 Cloud Computing Final 09 Task Performance 1 ARG PDF
1. Using Mongo shell, create a data schema that will demonstrate the described system.
You can use either embedded or reference data model based on your data design.
2. After creating the schema, insert appropriate data based on the given transaction below:
o On July 21, 2021, Rosalie purchased two (2) iPhone-X phones worth ₱45,000
each. Before Rosalie made the purchase, the quantity of iPhone-X is 49.
Answer:
Mongo DB code
Insert data:
>db.billing.insert({"_id":"02000179626A","customer_name":"Rosalie","item":"iPhone-
X","price":45000,"date":"July 21, 2021"});
>db.billing.insert({"_id":"02000179626B","customer_name":"Rosalie","item":"iPhone-
X","price":45000,"date":" July 21, 2021"});
>db.billing.insert({"_id":"02000179626C","customer_name":"Rosalie","item":"iPhone-
X","price":45000,"date":" July 21, 2021"});
>db.billing.find()
This study source was downloaded by 100000858703985 from CourseHero.com on 01-18-2023 22:07:42 GMT -06:00
https://www.coursehero.com/file/127896543/09-Cloud-Computing-Final-09-Task-Performance-1-ARGpdf/
Sales Report/Record:
Inventory Management:
This study source was downloaded by 100000858703985 from CourseHero.com on 01-18-2023 22:07:42 GMT -06:00
https://www.coursehero.com/file/127896543/09-Cloud-Computing-Final-09-Task-Performance-1-ARGpdf/
Powered by TCPDF (www.tcpdf.org)