Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

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().

Back

isAcknowledged()