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

Create UpdatePipeline builder restricted stages supported by update operations

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown 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 Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None