This is supposed to showcase unordered bulkwrites

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337119 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2015-07-07 18:31:43 +00:00
parent 84fd583940
commit b0dc55fed2

View file

@ -72,7 +72,7 @@ int(5)
<programlisting role="php">
<![CDATA[
<?php
$bulk = new MongoDB\Driver\BulkWrite(true);
$bulk = new MongoDB\Driver\BulkWrite(false);
$bulk->insert($a);
$bulk->insert($b);
$bulk->update($c, $obj);