incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <>
Subject Re: Associating users and comments
Date Fri, 03 Oct 2008 02:07:12 GMT
I think I've found a solution. Its a bit long for an email with the
code so I posted it online:

I'm pretty sure it works as expected but I can't be certain I'm not
missing a subtlety of the reduce step.


On Thu, Oct 2, 2008 at 12:29 PM, Ben Bangert <> wrote:
> On Oct 2, 2008, at 7:43 AM, Jeremy Wall wrote:
>> Or you can create a last 5 posts for users view. There is nothing wrong
>> with
>> that. One important point of design for a database like CouchDB is that
>> "one
>> size fits all views" are hard. The solution is to have lots of views. The
>> views are so versatile that you can do almost anything with them it just
>> takes a little more upfront work.
> Are you suggesting I can combine views in another view?

View raw message