PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\WriteResult::getUpsertedCount
request it (386)
GoLang replacement for PHP's MongoDB\Driver\WriteResult::getUpsertedCount
[edit | history]
PHP MongoDB\Driver\WriteResult::getUpsertedCountPHP original manual for MongoDB\Driver\WriteResult::getUpsertedCount [ show | php.net ]MongoDB\Driver\WriteResult::getUpsertedCount(mongodb >=1.0.0) MongoDB\Driver\WriteResult::getUpsertedCount — Returns the number of documents inserted by an upsert Description
final public integer|null MongoDB\Driver\WriteResult::getUpsertedCount
( void
)
ParametersThis function has no parameters. Return ValuesReturns the number of documents inserted by an upsert. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteResult::getUpsertedCount() example
<?php The above example will output: int(2) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|