incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dustin Sallings <dus...@spy.net>
Subject Re: Get all documents of a certain type.
Date Tue, 06 Nov 2012 22:44:20 GMT
Mark Hahn <mark@hahnca.com> writes:

> A view that emitted (_id, sku) would be the easiest and most efficient way
> to do it.  You wouldn't have to include_docs.

  Just (doc.sku, null) in this case.  It rarely makes sense to include
the doc ID in your view.

-- 
dustin


Mime
View raw message