couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <>
Subject Re: include_docs with _all_docs
Date Wed, 09 May 2012 23:27:43 GMT
>   or point me to instructions of how to do that

I would create a hash (of the kind of rows you want) in the map/reduce and
just keep bumping the count in each reduce.  You have all the fields in the
doc handed to the map (view) so you can create the row type from examining
the fields of each doc.

You might want to put this in it's own `design` and only put that design in
when you want to "run" the report.

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