couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Van Pelt <vanp...@gmail.com>
Subject Re: can results of views be reused in other views?
Date Thu, 15 Jan 2009 18:02:31 GMT
That sounds very "relational", there are a couple of opensource
projects a bit more mature then Couch that do this sort of thing very
well :)

On Thu, Jan 15, 2009 at 3:13 AM, Vikram Bhandoh
<vikram.bhandoh@gmail.com> wrote:
> Hi,
>
> I'm trying to figure out if results of one view can be reused in another?
> I have a situation where one of my views does map/reduce and generates some
> data for me.
>
> Here is the example, Post and Tags for posts. (two different documents
> linked by post._id and tag.post)
> My view returns the number of tags for the post, keyed on post._id
>
> Now I want a view where I want to return the post and the number of tags in
> the post.
> preferably without having to copy all the code.
>
> Many thanks,
> Vikram
>

Mime
View raw message