[SERVER-79180] Define a constant for the name of the index on _id Created: 21/Jul/23 Updated: 25/Jul/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kristina Znam (Inactive) | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Participants: |
| Description |
|
The index on the id field always has the same default name (_id) but there is no constant referencing it in the code, instead it is constructed in several places such as [here|http://example.com]. We could add a constant to store the name for easy referencing in the rest of the code base. |