double nested array element is implicitly extracted if it is addressed through an embedded field name, otherwise it isn't

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance, Querying
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > c.drop();
      true
      > c.save( {a:[[1]]} )
      > c.find( {'a.0':1} )
      > c.save( {a:[[{b:1}]]} )
      > c.find( {'a.0.b':1} )
      { "_id" : ObjectId("4e154cf00157217a5f5f2989"), "a" : [ [ { "b" : 1 } ] ] }
      

            Assignee:
            David Storch
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: