MongoDB + Python: How to delete multiple documents from mongodb and return deleted documents

后端 未结 0 2026
一个人的身影
一个人的身影 2021-02-12 10:56

I\'m using the below code to delete one documents and return deleted document:

book.collection.find_and_modify({"author_id": {"$nin": omit}},          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题