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

Regexps do not work with arrays

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: