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

regex on embedded objects

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.9.3
    • Affects Version/s: 0.9.3
    • Component/s: Usability
    • None

      db.test.save( { lst: [

      {text:"find me"}

      ] } )
      printjson( db.test.findOne(

      { "lst.text" : "find me" }

      ) )
      printjson( db.test.findOne(

      { "lst.text" : /find me/ }

      ) )

      the 2nd print gets null

            Assignee:
            aaron Aaron Staple
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: