-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.2.0
-
Component/s: Aggregation Framework
-
None
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
- duplicates
-
SERVER-6146 aggregation framework should have an $in expression
- Closed