© 2012 triAGENS GmbH | 2012-04-04 47 Aggregate functions Query language should provide some aggregate functions, e.g. MIN() MAX() SUM() LENGTH() Input to aggregate functions is a list of values to process. Example: [ { "user": { "type": 1, "rating": 1 } }, { "user": { "type": 1, "rating": 4 } }, { "user": { "type": 1, "rating": 3 } } ] Problem: how to access the „user.rating“ attribute of each value inside the aggregate function?