Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

MongoDB\DeleteResult Class

MongoDB\DeleteResult

This class contains information about an executed delete operation. It encapsulates a MongoDB\Driver\WriteResult object and is returned from MongoDB\Collection::deleteMany() or MongoDB\Collection::deleteOne().

Back

isAcknowledged()