Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7716

Range query operators ($gt, $lt, etc) between BSON types unsupported

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    Description

      The documentation for the $gt, $lt, $gte, and $lte operators suggests that range queries on fields will follow the MongoDB BSON comparison operator when attempting to run a range query.

      For comparison of different BSON type values, see the specified BSON comparison order.

      However, this is not supported, so the link to the BSON comparison order should be removed and this behavior should be clarified.

      Attachments

        Activity

          People

            steve.renaker@mongodb.com Steve Renaker (Inactive)
            rahul.dhodapkar Rahul Dhodapkar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 38 weeks, 6 days ago