From 09d694ebac61dbb59b281f8ddc76f38ce8db6b12 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 10 Mar 2014 16:30:15 +0000 Subject: [PATCH] - Added missing snippets. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332948 c90b9560-bf6c-de11-be94-00142212c4b1 --- language-snippets.ent | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index 1536b99a03..9b19670520 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1732,12 +1732,13 @@ paths Emits E_WARNING if either parameter is invalid, or if one or more tag sets are provided with the MongoClient::RP_PRIMARY read preference mode.'> This function returns an array describing the read preference. The array contains the values type for the string read preference mode (corresponding to the MongoClient constants), and tagsets containing a list of all tag set criteria. If no tag sets were specified, tagsets will not be present in the array.'> "w"See WriteConcerns. The default value for MongoClient is 1.'> -"wtimeout"How long to wait for WriteConcern acknowledgement. The default value for MongoClient is 10000 milliseconds.'> +"wtimeout"How long to wait for WriteConcern acknowledgement. The default value for MongoClient is 10000 milliseconds.Deprecated in favour of the "wTimeoutMS" option'> +"wTimeoutMS"How long to wait for WriteConcern acknowledgement. The default value for MongoClient is 10000 milliseconds.'> "fsync"Boolean, defaults to &false;. If journalling is enabled, it works exactly like "j". If journalling is not enabled, it forces the insert to be synced to disk before returning success. If &true;, an acknowledged insert is implied and will override setting w to 0.This option is deprecated. Please use the "j" option instead.'> - +Integer, defaults to MongoCursor::$timeout. If acknowledged writes are used, this sets how long (in milliseconds) for the client to wait for a database response. If the database does not respond within the timeout period, a MongoCursorTimeoutException will be thrown."socketTimeoutMS"'> "j"Boolean, defaults to &false;. Forces the insert to be synced to the journal before returning success. If &true;, an acknowledged insert is implied and will override setting w to 0.'> "safe"Deprecated. Please use the WriteConcern w option.'> -"timeout"Integer, defaults to MongoCursor::$timeout. If acknowledged writes are used, this sets how long (in milliseconds) for the client to wait for a database response. If the database does not respond within the timeout period, a MongoCursorTimeoutException will be thrown.'> +"timeout"Integer, defaults to MongoCursor::$timeout. If acknowledged writes are used, this sets how long (in milliseconds) for the client to wait for a database response. If the database does not respond within the timeout period, a MongoCursorTimeoutException will be thrown.Deprecated in favour of the "socketTimeoutMS" option'> Throws MongoCursorException if the "w" option is set and the write fails.Throws MongoCursorTimeoutException if the "w" option is set to a value greater than one and the operation takes longer than MongoCursor::$timeout milliseconds to complete. This does not kill the operation on the server, it is a client-side timeout. The operation in MongoCollection::$wtimeout is milliseconds.'> Issues E_DEPRECATED warning'> These fields may also overwrite those that would be created automatically by the driver, as described in the MongoDB core documentation for the files collection. Some practical use cases for this behavior would be to specify a custom chunkSize or _id for the file.'>