Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79180

Define a constant for the name of the index on _id

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution

    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. 

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            kristina.znam@mongodb.com Kristina Znam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: