Django MongoDB Backend: Replace $expr from the query generation layer where applicable

XMLWordPrintableJSON

    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      We noticed slow performance in DMB for some queries which leverages $expr. This is primarily happening because the presence of certain operators and expressions inside $expr results in collection scan.

       

      As part of this ticket - let's replace $expr wherever possible with appropriate MQL operator so that queries can leverage indexes (if present). 

            Assignee:
            Emanuel Lupi
            Reporter:
            Shubham Ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: