MongoDB\Driver\WriteResult::getInsertedCount
MongoDB\Driver\WriteResult::getModifiedCount
MongoDB\Driver\WriteResult
PHP Manual

# MongoDB\Driver\WriteResult::getMatchedCount

(mongodb >=0.2.0)

MongoDB\Driver\WriteResult::getMatchedCount — Description

### Description

final public ReturnType MongoDB\Driver\WriteResult::getMatchedCount ( void )

### Parameters

This function has no parameters.

### Return Values

### Errors/Exceptions

### Examples

Example #1 MongoDB\Driver\WriteResult::getMatchedCount() example

`<?php
/* ... */
?>`

The above example will output something similar to:

    ...

### See Also

MongoDB\Driver\WriteResult::getInsertedCount
MongoDB\Driver\WriteResult::getModifiedCount
MongoDB\Driver\WriteResult
PHP Manual