Please wait while we load your page...
 

Announcements

PHP Manual :: MongoDB\Driver\WriteResult::getUpsertedCount



MongoDB\Driver\WriteResult::getServer || MongoDB\Driver\WriteResult::getUpsertedIds || MongoDB\Driver\WriteResult || PHP Manual

(mongodb >=1.0.0)

MongoDB\Driver\WriteResult::getUpsertedCountDescription

Description

final public ReturnType MongoDB\Driver\WriteResult::getUpsertedCount ( void )

Parameters

This function has no parameters.

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\Driver\WriteResult::getUpsertedCount() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also



MongoDB\Driver\WriteResult::getServer || MongoDB\Driver\WriteResult::getUpsertedIds || MongoDB\Driver\WriteResult || PHP Manual
Live Chat Not Available