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

Operator $or doesn't work

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

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

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

              Created:
              Updated:
              Resolved: