couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CGS <>
Subject Re: Rendering a table
Date Tue, 11 Oct 2011 06:03:41 GMT

You may want to take a look at because it will answer
your question.

Actually, that whole document can help you to understand how to work with
CouchDB. It's worth to look through it.


On Fri, Oct 7, 2011 at 2:19 PM, Saffrey, Peter <>wrote:

> I'm hoping to use couchdb (and possibly couchapp) to manage some
> experimental statistics. I'm having trouble finding more advanced examples
> to get me going - much of the documentation is at the "hello world" level.
> I would like to store one document per experiment. For simplicity, at the
> moment each experiment has only a few values associated with it:
> {
>   "header1": 3,
>   "header2": 7,
>   "header3": "hello!"
> }
> Let's say I have three documents like this. Some might be missing some
> headings.
> What I want to do is render an HTML table with headings "header{1,2,3}" and
> a row per experiment. I might also like to compute a mean at the bottom,
> where the values are numeric. This seems to me a fairly standard use case,
> but I can't find any code samples online. Can anybody point me at some?
> Thanks,
> Peter

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message