From 2983ed9c5015b3bda27e2dafff947c8532093164 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 5 Oct 2012 20:22:15 +0000 Subject: [PATCH] Use reverse chronological order for Mongo changelogs https://jira.mongodb.org/browse/PHP-499 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327889 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongo/construct.xml | 73 ++++++++--------- reference/mongo/mongo/getpoolsize.xml | 9 +- reference/mongo/mongo/getslave.xml | 5 +- reference/mongo/mongo/getslaveokay.xml | 4 +- reference/mongo/mongo/pooldebug.xml | 4 +- reference/mongo/mongo/setslaveokay.xml | 4 +- reference/mongo/mongo/switchslave.xml | 4 +- reference/mongo/mongobindata/construct.xml | 6 +- .../mongo/mongocollection/batchinsert.xml | 21 ++--- reference/mongo/mongocollection/count.xml | 3 +- .../mongo/mongocollection/ensureindex.xml | 55 ++++++------- .../mongo/mongocollection/getslaveokay.xml | 4 +- reference/mongo/mongocollection/group.xml | 3 +- reference/mongo/mongocollection/insert.xml | 59 ++++++------- reference/mongo/mongocollection/remove.xml | 73 +++++++++-------- reference/mongo/mongocollection/save.xml | 29 +++---- .../mongo/mongocollection/setslaveokay.xml | 4 +- reference/mongo/mongocollection/update.xml | 82 +++++++++---------- reference/mongo/mongocursor/doquery.xml | 4 +- reference/mongo/mongocursor/info.xml | 14 ++-- reference/mongo/mongodb/authenticate.xml | 4 +- reference/mongo/mongodb/command.xml | 2 +- reference/mongo/mongodb/forceerror.xml | 4 +- reference/mongo/mongodb/getslaveokay.xml | 4 +- reference/mongo/mongodb/preverror.xml | 4 +- reference/mongo/mongodb/reseterror.xml | 4 +- reference/mongo/mongodb/setslaveokay.xml | 4 +- reference/mongo/mongogridfs/storeupload.xml | 2 +- reference/mongo/mongopool/getsize.xml | 4 +- reference/mongo/mongopool/info.xml | 4 +- reference/mongo/mongopool/setsize.xml | 4 +- 31 files changed, 234 insertions(+), 266 deletions(-) diff --git a/reference/mongo/mongo/construct.xml b/reference/mongo/mongo/construct.xml index 6cd1a69490..e9cbee5a9c 100644 --- a/reference/mongo/mongo/construct.xml +++ b/reference/mongo/mongo/construct.xml @@ -181,39 +181,49 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db 1.2.0 - Removed the persist option, as all connections are now persistent. It - can still be used, but it doesn't affect anything. - - - - "persist" - - - - If the connection should be persistent. If set, the connection will - be persistent. The string representation of the value is used as an - id for the connection, so two instances of - Mongo that are initialized with - array("persist" => "foobar") will share the same - database connection, whereas an instance initialized with - array("persist" => "barbaz") will use a different - database connection. - - - - + Added the "username" and + "password" options. - The "replicaSet" parameter now takes a string, not a boolean (although - boolean is still accepted). + Removed the "persist" option, as all connections are + now persistent. It can still be used, but it doesn't affect anything. + + + + + "persist" + + + + If the connection should be persistent. If set, the connection will + be persistent. The string representation of the value is used as an + ID for the connection, so two instances of + Mongo that are initialized with + array("persist" => "foobar") will share the same + database connection, whereas an instance initialized with + array("persist" => "barbaz") will use a different + database connection. + + + + + + The "replicaSet" option now takes a string, not a + boolean (although boolean is still accepted). + + 1.0.9 + Added the "replicaSet" option. + 1.0.2 - Changed constructor to take an array of options. Pre-1.0.2, the - constructor took the following parameters: + + Changed constructor to take an array of options. Pre-1.0.2, the + constructor took the following parameters: + @@ -259,19 +269,6 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db - - 1.0.9 - - Added the replicaSet option. - - - - 1.2.0 - - Added the username and password - options. - - diff --git a/reference/mongo/mongo/getpoolsize.xml b/reference/mongo/mongo/getpoolsize.xml index c17b2ca2a4..c237b1a9ce 100644 --- a/reference/mongo/mongo/getpoolsize.xml +++ b/reference/mongo/mongo/getpoolsize.xml @@ -34,6 +34,7 @@ Returns the current pool size. + &reftitle.changelog; @@ -48,9 +49,7 @@ 1.2.11 - - Emits E_DEPRECATED when used. - + Emits E_DEPRECATED when used. @@ -95,7 +94,7 @@ var_dump(Mongo::poolDebug()); - + &reftitle.seealso; @@ -104,7 +103,7 @@ var_dump(Mongo::poolDebug()); The connection documentation. - +