Support update operators in Builder

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Unknown
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Builder
    • None
    • None
    • PHP Drivers
    • Needed
    • Hide

      In the documentation for updates, we can show the syntax for using the update builder. Examples from the database documentation and how to write them in PHP can be found in the builder tests: https://github.com/mongodb/mongo-php-library/tree/v2.x/tests/Builder/Update

      Show
      In the documentation for updates, we can show the syntax for using the update builder. Examples from the database documentation and how to write them in PHP can be found in the builder tests: https://github.com/mongodb/mongo-php-library/tree/v2.x/tests/Builder/Update
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      Users can use a builder to build aggregation pipelines and queries with code completion and type checks. However, atomic update operators are not part of the builder.

      Motivation

      Who is the affected end user?

      End users wanting to use a builder to write update statements

      How does this affect the end user?

      Having a builder with support for code completion in IDEs makes features more discoverable to the user and improves code quality

      How likely is it that this problem or use case will occur?

      Main path

      Cast of Characters

      Engineering Lead:
      Document Author:
      POCers:
      Product Owner:
      Program Manager:
      Stakeholders:

      Channels & Docs

      Slack Channel

      [Scope Document|some.url]

      [Technical Design Document|some.url]

            Assignee:
            Andreas Braun
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: