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

Regexps do not work with arrays

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None

    Description

      db.foo.find(

      {'myfield.shape':'circle', 'myfield.color': /.*/}

      ) returns an object but db.foo.find({myfield:{shape:'circle', color: /.*/}}); does not.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            chx Karoly Negyesi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: