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

Operator $or doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Environment:
      fedora 16 KDE
    • Operating System:
      Linux

      Description

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: