Docs Menu

MongoDB\InsertOneResult::isAcknowledged()

MongoDB\InsertOneResult::isAcknowledged()

Return whether the write was acknowledged.

function isAcknowledged(): boolean

A boolean indicating whether the write was acknowledged.