In this Challenge Lab, you will create a utility that loads, reads, and modifies sales order data in a MongoDB database. First, you will create a collection in MongoDB, and then you will load JSON sales order data from files into the collection. Next, you will retrieve sales orders from the collection, and then modify data in the collection. Finally, you will add exception handling to catch errors thrown while interacting with the data. Note: Once you begin the Challenge Lab, you will not be able to pause, save, or exit and then return to your Challenge Lab. Please ensure that you have set aside enough time to complete the Challenge Lab before you start.
Learning Objectives
In this Challenge Lab, you will create a utility that loads, reads, and modifies sales order data in a MongoDB database. First, you will create a collection in MongoDB, and then you will load JSON sales order data from files into the collection. Next, you will retrieve sales orders from the collection, and then modify data in the collection. Finally, you will add exception handling to catch errors thrown while interacting with the data. Note: Once you begin the Challenge Lab, you will not be able to pause, save, or exit and then return to your Challenge Lab. Please ensure that you have set aside enough time to complete the Challenge Lab before you start.