1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to MongoDB in Python

Connected

अभ्यास

Deleting multiple MongoDB documents

It's time for some database cleanup. More specifically, you're going to use .delete_many() to delete all movies that were released a long time ago, in one go.

निर्देश

100 XP
  • Delete all movies that have a "release_year" before 1990.
  • Print the number of deleted documents.