|
MongoDB\Driver\WriteResult::getDeletedCountReturns the number of documents deleted Description
final public int|null MongoDB\Driver\WriteResult::getDeletedCount
( void
)
ParametersThis function has no parameters. Return Values
Returns the number of documents deleted, or Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteResult::getDeletedCount example
<?php The above example will output: int(1) See Also
|