couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alon Keren <>
Subject Reduce just N rows?
Date Sat, 14 Apr 2012 23:02:21 GMT

I have the following scenario:
a player can play one of many types of games. After finishing a game, the
player's score is kept in a new document.
I'd like to list a player's average score in the latest 10 games, for all
types of games.

I don't see an easy way to solve this with CouchDB, unless there was a
feature that limited (group-)reduce operations to just the first 10 of all
possible rows.

Has anyone else encountered a similar situation? Would this feature be
useful to others? If so, would it be technically feasible to implement?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message