couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: Eliminate keys during reduce?
Date Wed, 26 Feb 2014 16:31:42 GMT

On Feb 26, 2014, at 7:39 AM, James Dingwall <james.dingwall@zynstra.com> wrote:

> I have a reduce function which is queried with ?reduce=true&group_level=1.  In some
cases the value is interesting and other cases not.  Is it possible to delete the keys from
the result which are not interesting?

Create two views, one that emits those keys and one that doesn’t.

—Jens
Mime
View raw message