From 5c9f2d1643f19f16b628e570b3df125e554be308 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 26 Jan 2018 21:15:27 +0000 Subject: [PATCH] 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 --- .../mongodb/driver/query/construct.xml | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/reference/mongodb/mongodb/driver/query/construct.xml b/reference/mongodb/mongodb/driver/query/construct.xml index 8109dbf99d..d644bc5867 100644 --- a/reference/mongodb/mongodb/driver/query/construct.xml +++ b/reference/mongodb/mongodb/driver/query/construct.xml @@ -279,6 +279,23 @@ to determine which fields to include in the returned documents. + + readConcern + MongoDB\Driver\ReadConcern + + + A read concern to apply to the operation. By default, the read + concern from the + MongoDB + Connection URI will be used. + + + This option is available in MongoDB 3.2+ and will result in an + exception at execution time if specified for an older server + version. + + + returnKey boolean @@ -317,21 +334,6 @@ Defaults to &false;. - - readConcern - MongoDB\Driver\ReadConcern - - - Specifies the read concern. - The default level is "local". - - - To use a read concern level of "majority", you - must use the WiredTiger storage engine with MongoDB 3.2+ and enable - the feature in the server configuration. - - - skip integer