svn: /phpdoc/en/trunk/reference/mongo/mongowritebatch/ add.xml

From: Date: Mon, 14 Jul 2014 15:24:23 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/mongowritebatch/ add.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12602@lists.php.net to get a copy of this message
dragoonis Mon, 14 Jul 2014 15:24:23 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=334275 Log: Adding docs about the 'upsert' parameter to MongoWriteBatch::add() Changed paths: U phpdoc/en/trunk/reference/mongo/mongowritebatch/add.xml Modified: phpdoc/en/trunk/reference/mongo/mongowritebatch/add.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongowritebatch/add.xml 2014-07-14 13:32:22 UTC (rev 334274) +++ phpdoc/en/trunk/reference/mongo/mongowritebatch/add.xml 2014-07-14 15:24:23 UTC (rev 334275) @@ -46,8 +46,9 @@ <row> <entry>MongoWriteBatch::COMMAND_UPDATE</entry> <entry> - <simpara>Raw update operation. Required keys are: array("q" => <link linkend="mongocollection.update.criteria">array("criteria")</link>, "u" => array("new data"))</simpara> - <simpara>Optionally with the "multi" and "upsert" keys as boolean values</simpara> + <para>Raw update operation. Required keys are: array("q" => <link linkend="mongocollection.update.criteria">array("criteria")</link>, "u" => array("new data"))</para> + <para>Optionally with the "multi" and "upsert" keys as boolean values</para> + <para>"upsert": If set to true, creates a new document when no document matches the query criteria. The default value is false, which does not insert a new document when no match is found.</para> </entry> </row> <row>

« previous php.doc.cvs (#12602) next »