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

regex on embedded objects

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.9.3
    • 0.9.3
    • Usability
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: