Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
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()