negated $in operator

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 0.9.3
    • Affects Version/s: 0.9.3
    • Component/s: Usability
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be very nice to be able to use a negated version of the existing $in query operator. If I have an array of values I know I don't want to match against, I'd ideally be able to use a query along the lines of

      db.mycoll.find({_id:{'not $in':[some, array]}})

              Assignee:
              Aaron Staple (Inactive)
              Reporter:
              Liam Staskawicz
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: