Carrot reference
Functions
limit()
Returns a specified number of results from a provided list.
limit(value)
- value - the number of results to return.
Return type: List
{volunteers}.limit(4) returns the first 4 people from the volunteers list.
findHistoryValues( { checkinScore } ).limit(3).mean() returns the average of the first 3 values from the list returned from findHistoryValues( { checkinScore } ).