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\InsertManyResult::isAcknowledged()

MongoDB\InsertManyResult::isAcknowledged()

Return whether the write was acknowledged.

function isAcknowledged(): boolean

A boolean indicating whether the write was acknowledged.

  • MongoDB\Driver\WriteResult::isAcknowledged()

  • Write Concern in the MongoDB manual

Back

getInsertedIds()

On this page