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

_addSpecial() flags not used by DBCollection.getCount() method eg collection.find()._addSpecial().count()

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server
    • None

    Description

      It looks like the 'special' version of $comment isn't supported with count. One thing you might do is just put $comment inside your query like an operator, which is also supported:

      db.test.find(

      { msg:"Test message 10000", $comment:"a comment" }

      );

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 20 weeks ago