| 
 | MongoDB\Driver\BulkWriteCommandResult::getMatchedCountReturns the number of documents selected for update Description
   final public int MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() If the update operation results in no change to the document (e.g. setting the value of a field to its current value), the matched count may be greater than the value returned by MongoDB\Driver\BulkWriteCommandResult::getModifiedCount. ParametersThis function has no parameters. Return ValuesReturns the total number of documents selected for update by all operations. Errors/Exceptions
 ExamplesExample #1 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount example The above example will output: int(1) See Also
 |