Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2277

Add builder for $count aggregation stage

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • Builders
    • None

    Description

      Syntactic sugar for

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

      Seems not user friendly.

      Attachments

        Activity

          People

            justin.lee Justin Lee
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: