Operator $or doesn't work

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Querying
    • None
    • Environment:
      fedora 16 KDE
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.artists.find({img : {$exists : false}}).count()
      5023
      > db.artists.find({$or : [{descr : {$exists : false}}, {img : {$exists : false}}]}).count()
      0

            Assignee:
            Daniel Crosta
            Reporter:
            Roman Schurov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: