[SERVER-2165] $in and $all don't work together Created: 01/Dec/10  Updated: 12/Jul/16  Resolved: 16/May/11

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

Type: Bug Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Aaron Staple
Resolution: Done Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-958 Range queries on arrays behave differ... Closed
Duplicate
is duplicated by SERVER-2689 Inconsistent behavior when combining ... Closed
Related
Operating System: ALL
Participants:

 Description   

db.tags_test.insert(

{ tags: [1, 2, 3, 4] }

);
db.tags_test.find({ tags:

{ $all:[1], $in:[2] }

});



 Comments   
Comment by auto [ 29/Aug/11 ]

Author:

{u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Add some more tests for $in and $all working together. QA-46 & SERVER-2165.
Branch: master
https://github.com/mongodb/mongo/commit/75eb7ca39ab4d5180078402bb3c4ed948705c83f

Comment by Aaron Staple [ 16/May/11 ]

Addressed in the SERVER-958 fix.

Comment by auto [ 25/Apr/11 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-2165 test
Branch: master
https://github.com/mongodb/mongo/commit/71735ebc866ea664f16543e6ad8dca66c5cb8fe2

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