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

query $type:"xxx" should be covered

    • Fully Compatible
    • Query 2019-12-16, Query 2019-12-30

      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.

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

              Created:
              Updated:
              Resolved: