Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41346

all accumulators should be available as expressions

    • Query

      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-server-query Backlog - Query Team (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: