diff --git a/reference/mongo/mongocollection.xml b/reference/mongo/mongocollection.xml index e914f642f1..c24399541b 100644 --- a/reference/mongo/mongocollection.xml +++ b/reference/mongo/mongocollection.xml @@ -42,6 +42,20 @@ + + &Constants; + + const + int + MongoCollection::ASCENDING + 1 + + + const + int + MongoCollection::DESCENDING + -1 + Fields @@ -68,6 +82,30 @@ +
+ &reftitle.constants; + + + MongoCollection::ASCENDING + 1 + + + Ascending direction for sorts and index creation. + + + + + MongoCollection::DESCENDING + -1 + + + Descending direction for sorts and index creation. + + + + +
+
Fields