Support PHP 8.6 \SortDirection where a sort direction is expected

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

      Location where a \SortDirection case must be translated into the BSON value:

      In the builder:

      • Builder\Stage\FillStage sortBy
      • Builder\Stage\SortStage
      • Builder\Stage\SearchStage sort
      • Builder\Stage\SortByCountStage sort
      • Builder\Stage\SetWindowField sortBy 
      • Builder\Accumulator\TopAccumulator sortBy 
      • Builder\Expression\SortArrayOperator sortBy

      As operation option:

      • ClientBulkWrite "sort"
      • BulkWrite "sort"
      • Find "sort"
      • FindAndModify "sort"
      • Update "sort"

      This new enum complement the existing MongoDB\Builder\Type\Sort

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

              Created:
              Updated: