MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
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()