|
MongoDB\Driver\BulkWriteCommandResult::getUpsertedCountReturns the number of documents upserted Description
final public int MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount()
ParametersThis function has no parameters. Return ValuesReturns the total number of documents upserted by all operations. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount example
The above example will output: int(2) See Also
|