PyMongo

  • syntax

    • delete_one: remove a document.

    • delete_many: remove documents.

collection.delete_one(<query>)
collection.delete_many(<query>)

collection.remove(<query>)		# Deprecated

Last updated