couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <paul.joseph.da...@gmail.com>
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:

http://www.davispj.com/posts/couchdb-joins.html

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

Paul

On Thu, Oct 2, 2008 at 12:29 PM, Ben Bangert <ben@groovie.org> 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?

Mime
View raw message