add $count stage to aggregation

XMLWordPrintableJSON

    • Fully Compatible
    • Query 16 (06/24/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Syntactic sugar for

      {$group:{_id:null, count:{$sum:1}}}
      

      Seems not user friendly.

              Assignee:
              Sally McNichols (Inactive)
              Reporter:
              Martin Bligh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: