mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Revise docs for Query readConcern and note server requirement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343962 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c1abb23f8c
commit
5c9f2d1643
1 changed files with 17 additions and 15 deletions
|
@ -279,6 +279,23 @@
|
|||
to determine which fields to include in the returned documents.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>readConcern</entry>
|
||||
<entry><classname>MongoDB\Driver\ReadConcern</classname></entry>
|
||||
<entry>
|
||||
<para>
|
||||
A read concern to apply to the operation. By default, the read
|
||||
concern from the
|
||||
<link linkend="mongodb-driver-manager.construct-uri">MongoDB
|
||||
Connection URI</link> will be used.
|
||||
</para>
|
||||
<para>
|
||||
This option is available in MongoDB 3.2+ and will result in an
|
||||
exception at execution time if specified for an older server
|
||||
version.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>returnKey</entry>
|
||||
<entry><type>boolean</type></entry>
|
||||
|
@ -317,21 +334,6 @@
|
|||
Defaults to &false;.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>readConcern</entry>
|
||||
<entry><classname>MongoDB\Driver\ReadConcern</classname></entry>
|
||||
<entry>
|
||||
<para>
|
||||
Specifies the <link xlink:href="&url.mongodb.docs;reference/read-concern/">read concern</link>.
|
||||
The default level is <literal>"local"</literal>.
|
||||
</para>
|
||||
<para>
|
||||
To use a read concern level of <literal>"majority"</literal>, you
|
||||
must use the WiredTiger storage engine with MongoDB 3.2+ and enable
|
||||
the feature in the server configuration.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>skip</entry>
|
||||
<entry><type>integer</type></entry>
|
||||
|
|
Loading…
Reference in a new issue