$all + expressions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Support expressions($not, $gte, $elemMatch, etc) in $all clauses.

      > db.t3.save({_id:1, attr1:[1,2,3]})
      > db.t3.find({attr1:{$all:[{$gte:1}]}})
      > db.t3.save({_id:2, attr:[

      {a:1}

      ,

      {b:1}

      ,

      {c:3}

      ]})
      > db.t3.find({attr:{$all:[{a:{$gte:1}}]}})

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: