deletemany get amount of documents deleted code example Example: db.collection.deleteMany( db.<collection>.deleteMany({"field" : "value"})