Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-358

Aggregate operation should not require a collection name

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Since MongoDB 3.6, it is possible to execute collection-agnostic aggregation pipelines that utilize command operators (e.g. $currentOp). We should allow the Aggregate operation to be constructed without a collection name to support this.

      Note: this ticket does not pertain to creation of a Database::aggregate() helper method. That may be done down the line after a drivers specification is written.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: