mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document continueOnError.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323964 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f250f6c487
commit
26d4bbc997
1 changed files with 20 additions and 0 deletions
|
@ -66,6 +66,20 @@
|
|||
and will override setting <literal>safe</literal> to &false;.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>"continueOnError"</literal>
|
||||
</para>
|
||||
<para>
|
||||
Boolean, defaults to &false;. If set, the database will not stop
|
||||
processing a bulk insert if one fails (eg due to duplicate IDs).
|
||||
This makes bulk insert behave similarly to a series of single
|
||||
inserts, except that calling <function>MongoDB::lastError</function>
|
||||
will have an error set if any insert fails, not just the last one.
|
||||
If multiple errors occur, only the most recent will be reported by
|
||||
<function>MongoDB::lastError</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -121,6 +135,12 @@
|
|||
before) and added "fsync" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.7</entry>
|
||||
<entry>
|
||||
The <literal>continueOnError</literal> flag has been added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
|
Loading…
Reference in a new issue