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

[SBE] $returnKey support

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • Query 2020-05-18, Query 2020-06-01, Query 2020-06-15, Query 2020-06-29, Query 2020-07-13, Query 2020-07-27

    Description

      Allow the SBE planner to construct a plan that honors the "returnKey" option in find commands, causing it to return the expanded index entry for each document it would have returned instead of returning the document itself.

      This work also involves fleshing out the mongo::sbe::IndexScanStage so that it can populate slots with index key components.

      Attachments

        Activity

          People

            justin.seyster@mongodb.com Justin Seyster
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: