[SERVER-7162] Add $in operator for $cond, etc., in aggregation framework. Created: 26/Sep/12  Updated: 19/Mar/13  Resolved: 14/Mar/13

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 2.2.0
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Wes Freeman Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-6146 aggregation framework should have an ... Closed
Participants:

 Description   

I was recently trying to do some array matching stuff with the aggregation framework. Making $in available as an operator within $cond would be excellent.

See this stackoverflow response for more details of the use case:
http://stackoverflow.com/questions/12576948/query-mongodb-array-and-sort-with-the-most-matched-elements/12577865#12577865


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