[SERVER-495] Regexps do not work with arrays Created: 17/Dec/09 Updated: 12/Feb/10 Resolved: 18/Dec/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Karoly Negyesi | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
db.foo.find( {'myfield.shape':'circle', 'myfield.color': /.*/}) returns an object but db.foo.find({myfield:{shape:'circle', color: /.*/}}); does not. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 18/Dec/09 ] |
|
i think you're seeing this issue |