katsel opened a new issue #1254: Add aggregation functions to Mango URL: https://github.com/apache/couchdb/issues/1254 The Mango query language provides CRUD operations and basic selector syntax for document retrieval. There are no aggregation functions. Thus, Mango does currently not have an equivalent to 'reduce' and 'rereduce' functions as provided by JavaScript MapReduce. ## Expected Behavior The `_find` endpoint should provide syntax and sensible keywords such as sum, average, minimum, maximum to facilitate the aggregation of values into a single field. This change would enable users to write more powerful queries in Mango without prior knowledge of JavaScript or the MapReduce framework. ## Current Behavior None. Mango is limited to selector/'map' syntax, so to aggregate/'reduce' data, users have to turn to JavaScript MapReduce. ## Context I'm a student in the final stages of my master's degree in computer science. I made a few non-code contributions to CouchDB. I would like to add this functionality to Mango, and make this my first code contribution to the project.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
