|
MongoDB\Driver\BulkWrite::countCount number of write operations in the bulk Description
public int MongoDB\Driver\BulkWrite::count()
Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. ParametersThis function has no parameters. Return ValuesReturns number of write operations added to the MongoDB\Driver\BulkWrite object. Errors/Exceptions
Changelog
ExamplesExample #1 MongoDB\Driver\BulkWrite::count example
The above example will output: int(4) |