[SERVER-2549] expression native support , find({ a: { $lt : b*2 } }) Created: 14/Feb/11 Updated: 06/Dec/22 Resolved: 14/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 1.6.5 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | jason | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Duplicate | Votes: | 7 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Query
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Comments |
| Comment by jason [ 14/Feb/11 ] |
|
> db.cc.find( {custid:1102598027,$where:"this.a<this.b*2"}).explain() } |
| Comment by jason [ 14/Feb/11 ] |
|
Difference between the two different ways of writing 100 times. ).explain() { 2. ).explain() {
Recommended to native support find({ a: { $lt : b*2 } }) , |