Implement $slice aggregation operator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • builder-0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $slice aggregation operator have an optional argument in the middle of required arguments. This is not supported by PHP function arguments. 

      We can move <position> to the end, and rely on named arguments only, but that doesn't match with the documentation and the array encoding generates [ <array>, <n>, <position> ] (<position> is last) instead of [ <array>, <position>, <n> ] 

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

                Created:
                Updated:
                Resolved: