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

query $type:"xxx" should be covered

    XMLWordPrintable

Details

    • Fully Compatible
    • 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

            sophie.saskin@mongodb.com Sophie Saskin
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: