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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • 135

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

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

              Created:
              Updated:
              Resolved: