@staticmethod<EOL><INDENT>def delete_multi(db, collection, match_params=None):<DEDENT>
return db[collection].delete_many(match_params).deleted_count<EOL>
Wrapper for pymongo.delete_many()
:param db: db connection
:param collection: collection to update
:param match_params: a query that matches the documents to delete
:return: delected count