|
MongoDB\Driver\BulkWriteCommandResult::isAcknowledgedReturns whether the write was acknowledged Description
final public bool MongoDB\Driver\BulkWriteCommandResult::isAcknowledged()
If the write is acknowledged, other fields will be available on the MongoDB\Driver\BulkWriteCommandResult object. ParametersThis function has no parameters. Return Values
Returns Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\BulkWriteCommandResult::isAcknowledged with acknowledged write concern
The above example will output: bool(true) Example #2 MongoDB\Driver\BulkWriteCommandResult::isAcknowledged with unacknowledged write concern
The above example will output: bool(false) See Also
|