Create UpdatePipeline builder restricted stages supported by update operations

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Builder
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Only a subset of aggregation pipelines can be used in update operations:

      https://www.mongodb.com/docs/manual/tutorial/update-documents-with-aggregation-pipeline/

      Create a new UpdatePipeline class that restrict the stage using a new UpdateStageInterface.

      From docs comment: https://github.com/mongodb/docs-php-library/pull/206#discussion_r1975993613 

              Assignee:
              Unassigned
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: