From 0e0f965045c491dfe12eb0cd1fb61c12b46e9f91 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 23 Sep 2014 15:33:02 +0000 Subject: [PATCH] Document socketTimeoutMS for MongoDB::command() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334971 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongodb/command.xml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/reference/mongo/mongodb/command.xml b/reference/mongo/mongodb/command.xml index b86c7f5548..c23cda1fda 100644 --- a/reference/mongo/mongodb/command.xml +++ b/reference/mongo/mongodb/command.xml @@ -54,9 +54,14 @@ public function command($data) { - This parameter is an associative array of the form - array("optionname" => <boolean>, ...). Currently - supported options are: + An array of options for the index creation. Currently available options + include: + + &mongo.writes.parameters.sockettimeoutms; + + + + The following options are deprecated and should no longer be used: &mongo.writes.parameters.timeout; @@ -79,6 +84,17 @@ public function command($data) { + + 1.5.0 + + + Renamed the "timeout" option to + "socketTimeoutMS". Emits + E_DEPRECATED when "timeout" is + used. + + + 1.2.0