[SERVER-58] array matching Created: 20/May/09  Updated: 12/Jul/16  Resolved: 20/May/09

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

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

Participants:

 Description   

url: test
connecting to: test
type "help" for help
> use test
switched to db test
> db.example.find()
{"_id" : "5e5ca866788a0376fab6ec94" , "foo" : {"bar" : ["spam"]}}
{"_id" : "758d269138601a0a1d9ad502" , "foo" : {"bar" : ["spam","eggs"]}}

{"_id" : "0f4d46a5019c671923364b4c" , "bar" : ["spam"]} {"_id" : "ef9a3261604eb69f8a9cc6c0" , "bar" : ["spam","eggs"]}

> db.example.find(

{"foo.bar":"spam"}

)
> db.example.find(

{"bar": "spam"}

)

{"_id" : "0f4d46a5019c671923364b4c" , "bar" : ["spam"]} {"_id" : "ef9a3261604eb69f8a9cc6c0" , "bar" : ["spam","eggs"]}

 Comments   
Comment by Aaron Staple [ 20/May/09 ]

fixed, tested in querytests.cpp

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