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

LegacyReply should be able to provide getOutputDocs interface

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.6
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Platform 6 07/17/15

      Currently getOutputDocs is a no-op on LegacyReply.

      To use ReplyInterface to read find command responses, we will need to provide an implementation of getOutputDocs.

      It should use a BSONArrayDocumentRange (SERVER-19132) to provide the same interface as CommandReply using the nested output docs in the "firstBatch" field of the find command response.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: