svn: /phpdoc/en/trunk/ language-snippets.ent
| From: | Peter Cowburn | Date: | Sat, 30 Jan 2016 12:57:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14018@lists.php.net to get a copy of this message | ||
salathe Sat, 30 Jan 2016 12:57:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338551
Log:
maxTimeMS is a server-side timeout (doc bug #70512)
--
Provided by Fabrice Guéry (fabrice@workdigital.co.uk)
Bug: https://bugs.php.net/70512 (Open) findOne timeout
document is not very clear
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2016-01-30 12:57:31 UTC (rev 338550)
+++ phpdoc/en/trunk/language-snippets.ent 2016-01-30 12:57:35 UTC (rev 338551)
@@ -1919,7 +1919,7 @@
<!ENTITY mongo.setwriteconcern.returnvalues '<para xmlns="http://docbook.org/ns/docbook">Returns
&true; on success, or &false; otherwise.</para>'>
<!ENTITY mongo.setwriteconcern.errors '<para xmlns="http://docbook.org/ns/docbook">Emits
<constant>E_WARNING</constant> if the <literal>w</literal> parameter is not
an integer or string value.</para>'>
<!ENTITY mongo.getwriteconcern.returnvalues '<para xmlns="http://docbook.org/ns/docbook">This function
returns an array describing the write concern. The array contains the values
<literal>w</literal> for an integer acknowledgement level or string mode, and
<literal>wtimeout</literal> denoting the maximum number of milliseconds to wait for the
server to satisfy the write concern.</para>'>
-<!ENTITY mongo.command.parameters.maxtimems '<listitem xmlns="http://docbook.org/ns/docbook"><para><literal>"maxTimeMS"</literal></para><para>Specifies
a cumulative time limit in milliseconds for processing the operation (does not include idle time).
If the operation is not completed within the timeout period, a
<classname>MongoExecutionTimeoutException</classname> will be
thrown.</para></listitem>'>
+<!ENTITY mongo.command.parameters.maxtimems '<listitem xmlns="http://docbook.org/ns/docbook"><para><literal>"maxTimeMS"</literal></para><para>Specifies
a cumulative time limit in milliseconds for processing the operation on the server (does not include
idle time). If the operation is not completed by the server within the timeout period, a
<classname>MongoExecutionTimeoutException</classname> will be
thrown.</para></listitem>'>
<!ENTITY mongo.index.parameters.background '<listitem xmlns="http://docbook.org/ns/docbook"><para><literal>"background"</literal></para><para>Builds
the index in the background so that building an index does <emphasis>not</emphasis>
block other database activities. Specify &true; to build in the background. The default value is
&false;.</para><warning xmlns="http://docbook.org/ns/docbook"><para>Prior
to MongoDB 2.6.0, index builds on secondaries were executed as foreground operations, irrespective
of this option. See <link xlink:href="&url.mongodb.dochub.indexes.rs;"
xmlns:xlink="http://www.w3.org/1999/xlink">Building Indexes
with Replica Sets</link> for more
information.</para></warning></listitem>'>
<!ENTITY mongo.index.parameters.dropdups '<listitem xmlns="http://docbook.org/ns/docbook"><para><literal>"dropDups"</literal></para><para>Specify
&true; to force creation of a unique index where the collection may contain duplicate values for
a key. MongoDB will index the first occurrence of a key and delete all subsequent documents from the
collection that contain a duplicate value for that key. The default value is
&false;.</para><warning xmlns="http://docbook.org/ns/docbook"><para><literal>"dropDups"</literal>
may delete data from your database. Use with extreme caution.</para></warning><note
xmlns="http://docbook.org/ns/docbook"><para>This
option is not supported on MongoDB 2.8+. Index creation will fail if the collection contains
duplicate values.</para></note></listitem>'>
<!ENTITY mongo.index.parameters.expireafterseconds '<listitem xmlns="http://docbook.org/ns/docbook"><para><literal>"expireAfterSeconds"</literal></para><para>The
value of this option should specify the number of seconds after which a document should be
considered expired and automatically removed from the collection. This option is only compatible
with single-field indexes where the field will contain <classname>MongoDate</classname>
values.</para><note xmlns="http://docbook.org/ns/docbook"><para>This
feature is available in MongoDB 2.2+. See <link
xlink:href="&url.mongodb.docs.expire_data;" xmlns:xlink="http://www.w3.org/1999/xlink">Expire Data from
Collections by Setting TTL</link> for more
information.</para></note></listitem>'>