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