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

Doing a query on a list inside of an object inside of a list does not work.

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

      > db.visits.find({ 'end' :

      {'$gt' : d}

      ,}).limit(1)
      {"_id" : "b4dd8c36e67c6c709f7d5def" , "pages" : [

      { "tests" : ["ShowInternalAdsSearch"] }

      ] , }
      > db.visits.find({ 'end' :

      {'$gt' : d}

      , 'pages.tests' : 'ShowInternalAdsSearch'})
      >

      This doesn't work, but I think it should.

            Assignee:
            aaron Aaron Staple
            Reporter:
            jeff jeff jenkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: