Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2840

Document let support for aggregation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      PYTHON-2741 added test but we forgot to update the aggregate docs to mention this option. We should add this to Collection.aggregate and Database.aggregate:
      ```
      + - `let` (dict): A dict of parameter names and values. Values must be
      + constant or closed expressions that do not reference document
      + fields. Parameters can then be accessed as variables in an
      + aggregate expression context (e.g. ``"$$var"``). This option is
      + only supported on MongoDB >= 5.0.
      ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: