Menu
×
×
Correct!

Exercise:

What collection method can be used to delete all documents that match the query?

db.posts.deleteMany({ category: "News" })

Not Correct

Click here to try again.

Correct!

Next ❯
db.posts.({ category: "News" })

    
  




Log in to keep your progress
Sign up to keep your progress

Completed 0 of 10 Exercises:

MONGODB Get Started
MONGODB Create Database
MONGODB Create Collection
MONGODB Insert
MONGODB Find
MONGODB Update
MONGODB Delete
MONGODB Query Operators
MONGODB Update Operators
MONGODB Aggregations

×

Reset the Score?

This will reset the score of ALL 10 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 10 MONGODB exercises.

Share your score: