|
MongoDB\Driver\BulkWriteCommandResult::getDeleteResultsReturns verbose results for successful deletes Description
final public MongoDB\BSON\Documentnull MongoDB\Driver\BulkWriteCommandResult::getDeleteResults()
ParametersThis function has no parameters. Return Values
Returns a document containing the result of each successful delete
operation, or Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\BulkWriteCommandResult::getDeleteResults example
The above example will output something similar to: object(stdClass)#7 (1) { ["4"]=> object(stdClass)#6 (1) { ["deletedCount"]=> object(MongoDB\BSON\Int64)#5 (1) { ["integer"]=> string(1) "3" } } } See Also
|