Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-29

missing docs for count with a query

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      The wiki is missing the query option of the count db command
      http://www.mongodb.org/display/DOCS/List+of+Database+Commands

      This doc seems more complete:
      http://www.10gen.com/static/downloads/mongodb_qrc_commands.pdf

      {count: coll[,query: query]}

      commandHelp("count") is also missing info:
      db.commandHelp("count")
      help for: count count objects in collection

      I also couldn't find in the wiki info about specifying the database in a command syntax, not with a driver helper function (ns: <database>).

      Other commands are probably also missing info so it'll be useful for others that implement drivers if you could update the docs.

      Thanks

            Assignee:
            Unassigned Unassigned
            Reporter:
            pablo pablo platt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 46 weeks, 1 day ago