On Sun, Feb 8, 2009 at 11:52 PM, Mister Donut <[email protected]> wrote:
> So.
>
> The blog.
>
> Store the comments inside the blog entry.
>

Bad idea, store comments in their own docs.

> Great! Views, here I come! All problems solved!
>
> Wait. What if there are ten thousand comments.
> Maybe we would like to count them!

Sure, use the view to get all comments and specify count=0.

> Pagination!
> Let's see. We can implement forward and backward easily.
> But this is getting really annoying if we want move fast.
> Like, see comments starting from two weeks ago. Or posts!
> Sadly, we cannot guess these dates.

startkey, endkey and limit.
> So, what exactly can you do with CouchDB?
>

Anything!

> Sooner or later you'll have someone suggesting to implement...
> ...bulk_save!

It's already there.

Make sure you read the docs and ask #couchdb, mailing list is good too.

Reply via email to