[SERVER-24086] Disallow specifying $ref as a top-level query operator Created: 06/May/16 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Optimization
|
||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
It isn't possible to insert a document with a $ref key at the top-level, so there's no way for the query to ever match anything.
|
| Comments |
| Comment by Jeremy Mikola [ 05/May/21 ] |
I don't think this still applies given the work in PM-1856. Should this ticket be revisited for 5.0? |