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

Field Matcher: field negative matcher (exclusion)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.3
    • Querying
    • None

    Description

      find( {} ,

      { foo : -1 }

      )

      edit by mstearn:
      final syntax:

      {foo: 0}

      or

      {foo: false} {foo: -1}

      is treated as

      {foo: true}

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            eliot Eliot Horowitz (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: