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().
MongoDB\DeleteResultThis 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().