Quiz: Basic CRUD Operations
Test your understanding to help reinforce what you’ve learned so far.
We'll cover the following...
We'll cover the following...
Test Your Knowledge.
1.
Which query will return the first product whose name contains the word “eco” (case-insensitive)?
A.
db.products.find({ name: /eco/i }).limit(1)
B.
db.products.findOne({ name: /eco/i })
C.
db.products.find({ name: /eco/ }).limit(1)
D.
db.products.findOne({ name: /eco/ })
1 / 6
...