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

Prevent sorting elements in a $in expression during auto-parameterization

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 135

    Description

      We can use InListData::hasSingleElement() during auto-parameterization rather than getElements() that would sort all the elements in a $in expression.

      Attachments

        Activity

          People

            ruoxin.xu@mongodb.com Ruoxin Xu
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: