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

$all + expressions

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query Optimization

    Description

      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}}]}})

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: