Question: Solve this mongodb question If you have not done it yet, start mongo client and connect to the MongoDB database server. Next, process a script
Solve this mongodb question

If you have not done it yet, start mongo client and connect to the MongoDB database server. Next, process a script file empeProject.js to insert BSON documents into a collection empeProject. Make yourself familiar with the contents of the collection. Use either a method find()) or a method aggregate() available in MongoDB to write the implementations of the following queries. Implementation of each query is worth 1 mark. (i) Find the first name (fName) and last name (1Name) of all employee who have experience in Database Design. Do not show the object identifier (_id). (1.0 mark) (ii) Find the first name (fName), last name (1Name) and experience (experience) of the employee with employee id (empeId) = "e002". Display only the employee first name, last. name and the experience. Do not display the object identifier (_id). (1.0 mark) (iii) Find all employees who possess 4 experiences. Show only the employee's information. (1.0 mark) Use the method update() to write the implementations of the following data manipulation operations. Implementation of each data manipulation operation is worth 1 mark. (iv) Add a new experience "HIVE" to the employee whose empeld is 'e001'. (1.0 mark) (v) Change the email account for employee e001 to "james bond$hotmail.com". (1.0 mark)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
