Project: Contacts Book
Practice all CRUD operations.
Example
db.contacts.insertMany([
{ name: "Ada", phone: "111" },
{ name: "Kofi", phone: "222" }
])
db.contacts.find({ name: "Ada" })
db.contacts.updateOne({ name: "Ada" }, { $set: { phone: "333" } })
db.contacts.deleteOne({ name: "Kofi" })Exercise
Read.
db.contacts.()
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.