Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/ /

MongoDB\InsertOneResult::isAcknowledged()

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

Back

getInsertedId()

On this page