[SERVER-3072] $all + expressions Created: 10/May/11  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-3408 querying with a combination of $all a... Closed
Assigned Teams:
Query Optimization
Participants:

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


Generated at Thu Feb 08 03:01:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.