Put in order · Python course · Module 4: Data, APIs and Databases

MongoDB CRUD

Arrange MongoDB operations:

Items to put in order

  • client = MongoClient()
  • db.animals.insert_one(data)
  • db = client['safari']
  • results = db.animals.find()

You can check the correct answer by solving this task in the CodeWorlds game.