Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2515

$comment operator for propagating metadata to query logs

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 1.9.1
    • Usability
    • None

    Description

      Here's Bernie's response to my question on mongodb-user:

      We don't currently support this but it's a cool idea. You could open a
      jira case to request an enhancement for a $comment operator.

      I haven't tested this but it might work to add a parameter to your
      query that never exists. Something like:
      find({<your params>, fakeComment:{$ne:"some comment"}})

      Unfortunately that will likely have the side effect of slowing the
      queries down even more.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            josh@gmail.com Josh Adams
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: