summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/dbclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.h b/client/dbclient.h
index 9eee76149a8..7f0042e2611 100644
--- a/client/dbclient.h
+++ b/client/dbclient.h
@@ -580,7 +580,7 @@ namespace mongo {
ns: namespace to query, format is <dbname>.<collectname>[.<collectname>]*
query: query to perform on the collection. this is a BSONObj (binary JSON)
You may format as
- { query: { ... }, order: { ... } }
+ { query: { ... }, orderby: { ... } }
to specify a sort order.
nToReturn: n to return. 0 = unlimited
nToSkip: start with the nth item