[SERVER-275] support {$regex:'foo', $options:'bar'} syntax in queries Created: 02/Sep/09 Updated: 12/Jul/16 Resolved: 19/Oct/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.3 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It is silly to compile regexen in a driver language only to deconstruct them for mongo. This also makes it easier to represent a query in pure json (useful in my app). Please make $options optional. |
| Comments |
| Comment by auto [ 19/Oct/09 ] |
|
Author: {'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Support {:'foo', :'bar'} syntax in queries. |
| Comment by Eliot Horowitz (Inactive) [ 15/Sep/09 ] |
|
easy to add in matcher.cpp - just need to convert $regex to a regex[] |