Add builder for $count aggregation stage

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: Builders
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Syntactic sugar for

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

      Seems not user friendly.

            Assignee:
            Justin Lee
            Reporter:
            Rathi Gnanasekaran (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: