Allow empty pipeline array for Collection::aggregate()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.2.0
    • Affects Version/s: 1.2.0-alpha1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mongodb/mongo-php-library#398 inquired why we currently throw an exception if the pipeline array is empty. The server does not require a non-empty array.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: