You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
MongoDB\DeleteResult Class
Definition
MongoDB\DeleteResultThis class contains information about an executed delete operation. It encapsulates a MongoDB\Driver\WriteResult object and is returned from
MongoDB\Collection::deleteMany()orMongoDB\Collection::deleteOne().