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

missing docs for count with a query

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • # Replies:
      1
    • Last comment by Customer:
      true

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pablo pablo platt
              Participants:
              Last commenter:
              Jonathan Dahl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 6 weeks, 5 days ago
                Date of 1st Reply: