Define a constant for the name of the index on _id

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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. We could add a constant to store the name for easy referencing in the rest of the code base. 

            Assignee:
            Parker Felix
            Reporter:
            Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: