Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
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()