all accumulators should be available as expressions

XMLWordPrintableJSON

    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Not clear why $first $last and $addToSet are the only accumulators not available as regular expressions with array argument.  In particular $last is helpful to avoid very verbose syntax for $arrayElemAt plus calculate position of last element ($subtract 1 from $size)

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: