Docs Menu

Docs HomePHP Library Manual

MongoDB\UpdateResult Class

MongoDB\UpdateResult

This class contains information about an executed update or replace operation. It encapsulates a MongoDB\Driver\WriteResult object and is returned from MongoDB\Collection::replaceOne(), MongoDB\Collection::updateMany(), or MongoDB\Collection::updateOne().

←  MongoDB\InsertManyResult::isAcknowledged()MongoDB\UpdateResult::getMatchedCount() →