incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: General Q about CouchDB
Date Tue, 16 Dec 2008 19:51:22 GMT
On Tue, Dec 16, 2008 at 11:46 AM, Christopher McComas
<> wrote:
> Would it be wrong to try to do the category piece as related in CouchDB?
> What would be the best way to do it, so that you can have a page,
> that'd then display all the entries for
> that category? What would be proper?

Having a category field on the blog post itself is a fine way to do this.


"date": ...

Writing a view that sorts posts by category and date would be simple
with this sort of data structure. Of course if you wanted to rename a
category later you'd need to touch all the documents that listed it,
so this solution is more like tagging than categories, but should
fulfill the need.

Chris Anderson

View raw message