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

$comment is not well documented

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    Description

      The 3.2 docs claim that $comment is deprecated, I suspect because the find command has a "comment" option, rather than accepting $ operators:

      https://docs.mongodb.com/manual/reference/operator/meta/comment/

      But $comment is used more places than just find(). $comment can be used in any command that accepts query criteria (update, delete, findAndModify, aggregate, etc.). How to use $comment with these operations appears to be completely undocumented.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 30 weeks, 5 days ago