Let AggregationRequestHelper::parseFromBSON() return an AggregateCommand

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2021-01-25, Query Optimization 2021-02-22
    • 17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      AggregationRequestHelper::parseFromBSON() is used to create AggregateCommand. Currently it returns an AggregateCommand with Status. Since all the callers just uassert() it, it can just return an AggregateCommand and throw any error within the function.

            Assignee:
            Sam Mercier
            Reporter:
            Ruoxin Xu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: