Docs Menu

Docs HomePHP Library Manual

MongoDB\InsertOneResult::isAcknowledged()

On this page

  • Definition
  • Return Values
  • See Also
MongoDB\InsertOneResult::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

← MongoDB\InsertOneResult::getInsertedId()