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

query $type:"xxx" should be covered

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2019-12-16, Query 2019-12-30

      Description

      If I query for value of type string by comparing it to >= '' or for number comparing if it's greater than max negative number, an index will be used without FETCH. However, if the query is {{ a:{$type:'string'} }} we use an index and FETCH.

      $type queries should be covered.

        Attachments

          Activity

            People

            Assignee:
            sophie.saskin Sophie Saskin
            Reporter:
            asya Asya Kamsky
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: