Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4793

Implement $not as a top-level matcher

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query
    • Labels:
      None

      Currently embedded matchers handle $not operator in an ad-hoc manner, in the other operators whose values potentially may contain a $not expression. This ticket proposes to add a top-level $not matcher, to mirror already existing $and/$or/$nor matchers, to encapsulate the negation logic.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: