diff --git a/reference/mongo/mongo/construct.xml b/reference/mongo/mongo/construct.xml index 5d886eb5e4..9b1dc26057 100644 --- a/reference/mongo/mongo/construct.xml +++ b/reference/mongo/mongo/construct.xml @@ -21,7 +21,7 @@ mongo.default_port). - As of version 1.0.2, server should have the form: + server should have the form: - - - <parameter>server</parameter> Format - - - Before version 1.0.2, server could not be prefixed - with mongodb://, contain username and password, or - contain more than two hostnames. See the changelog below for more details. - - - - If you elect not to connect immediately (you pass the option array("connect" => false)), you will need to call diff --git a/reference/mongo/mongocollection/count.xml b/reference/mongo/mongocollection/count.xml index 65ade1f77c..5802b640a7 100644 --- a/reference/mongo/mongocollection/count.xml +++ b/reference/mongo/mongocollection/count.xml @@ -62,6 +62,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.0.7 + + Added limit and skip parameters. + + + + + + + + &reftitle.examples; diff --git a/reference/mongo/mongocursor/count.xml b/reference/mongo/mongocursor/count.xml index a2a61ea1b5..a7dce55fbc 100644 --- a/reference/mongo/mongocursor/count.xml +++ b/reference/mongo/mongocursor/count.xml @@ -13,6 +13,12 @@ public intMongoCursor::count booleanfoundOnly&false; + + This method does not affect the state of the cursor: if you haven't queried + yet, you can still apply limits, skips, etc. If you have started iterating + through results, it will not move the current position of the cursor. If you + have exhasted the cursor, it will not reset it. + diff --git a/reference/mongo/mongocursor/getquery.xml b/reference/mongo/mongocursor/info.xml similarity index 92% rename from reference/mongo/mongocursor/getquery.xml rename to reference/mongo/mongocursor/info.xml index 2323d7a669..c6b6e51fa1 100644 --- a/reference/mongo/mongocursor/getquery.xml +++ b/reference/mongo/mongocursor/info.xml @@ -26,7 +26,8 @@ &reftitle.returnvalues; - The query, fields, limit, and skip for this cursor as an associative array. + Returns the namespace, limit, skip, query, and fields for this cursor. In + version 1.0.10+, it also returns whether the cursor is pre- or post-query.