[SERVER-230] $in operator to recognise and obey DBRefs Created: 12/Aug/09 Updated: 06/Dec/22 Resolved: 19/May/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 0.9.7 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Phillip Oldham | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query
|
| Participants: |
| Description |
|
It would be very useful if the $in operator could recognise and obey DBRefs when querying. For example:
Which returns back {user 11} and {user 20}, but not {user 7} because it's actually a "customer" collection reference. |
| Comments |
| Comment by sandstrom [ 03/Sep/09 ] |
|
May be wrong, but I think that the db references are handled only at the driver level (which I think is good). This should work if evaluated server-side. Otherwise you can rewrite the map in the language you use. ) } }) |