Docs Menu
Docs Home
/ / /
PHP 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().

← isAcknowledged()