[SERVER-1237] Object match is very strict Created: 14/Jun/10  Updated: 15/Jun/10  Resolved: 15/Jun/10

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

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

Operating System: ALL
Participants:

 Description   

> db.block.find({"_id" : { "module" : "ex_taxonomy", "delta" : "edition-feature_admin" }}).count();
1
> db.block.find({"_id" : { "delta" : "edition-feature_admin", "module" : "ex_taxonomy" }}).count();
0



 Comments   
Comment by Eliot Horowitz (Inactive) [ 15/Jun/10 ]

This is how it is meant to be.
You can use $elemMatch if you want to do full sub-object matching

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