Hwo to use sum function in CBL2


Do you have an example of how to get the sum of an integer property for all documents? I can’t find any examples of how to use the aggregation functions.


You’ll want to post to the right category, or maybe one of the admins can move this (ping @czajkowski @matthew.groves @nraboy)