LINQ3: Add First and Last operators to AstUnaryExpression

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add support for First and Last unary operators to AstUnaryExpression.

      However, because the $first and $last aggregation expression operators are only supported in server versions >= 5.0.0 they need to be rendered using $arrayElemAt with indexes 0 and -1 respectively.

       

            Assignee:
            Robert Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: