[SERVER-2436] $ne: /bar/ Created: 30/Jan/11 Updated: 03/Dec/15 Resolved: 03/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Vladimir Dronnikov | Assignee: | David Storch |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
any |
||
| Participants: |
| Description |
|
Please, consider .find({foo:{$ne:/bar/}}) be not throwing but instead internally converted to corresponding .find({foo:{$not:/bar/}}) TIA, |
| Comments |
| Comment by David Storch [ 03/Dec/15 ] |
|
We're not currently planning any further action on this ticket. Closing as Won't Fix. |
| Comment by Vladimir Dronnikov [ 31/Jan/11 ] |
|
Well in "foo: /a/" we don't mean equality to /a/, right?, but instead we do mean match /a/. To be symmetric, inequality might mean "not match". |
| Comment by Eliot Horowitz (Inactive) [ 31/Jan/11 ] |
|
it doesn't sound right to me foo not equal to /a/ but happy to see what other's consens is. |