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

$type value should be signed extended

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Querying
    • Query
    • ALL

    Description

      > db.max.find({_id:{$type:0xff}}) //documented in bsonspec
      error: { "$err" : "type not supported for appendMinElementForType", "code" : 10061 }
      > db.max.find({_id:{$type:-1}})
      { "_id" : { "$MinKey" : true } }

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: