Question: Please help in creating the code using MongoDB (NoSQL) please help in creating the code using MongoDB 1.Create a database named labActivity. 2.Create a collection
Please help in creating the code using MongoDB (NoSQL)
please help in creating the code using MongoDB 1.Create a database named labActivity. 2.Create a collection named userProfiles. 3.Insert one document in userProfiles, with fields: name, age, and course. Use your information as values. 4. Do a find that returns everything in the table. 5. Do a find that uses a criteria. 6. Do a find that uses a criteria and only name and age are showing (without object id). 7. Do a find where your name will only be displayed (without object id). 8. Do an update One(). 9. Use deleteOne() to delete the record you have created. 10. Delete the collection.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
