incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: include_docs with _all_docs
Date Wed, 09 May 2012 18:17:05 GMT

On May 9, 2012, at 11:02 AM, <dan@danmyersconsulting.com> <dan@danmyersconsulting.com>
wrote:

> Isn't there
> something that just gives me the list of attributes (metadata only) like
> dictionary tables provide in relational databases? e.g. output would be:
> "id","key","value","doc":{"_id","_rev","Name","Email","Notes"}

Nope. And I’m having trouble thinking of a reason you’d want it … maybe if you explain
why, we can suggest a Couch-like way of doing it. (For example, if you’re trying to find
all documents that contain a particular attribute, you’d write a view to select those and
then query that view.)

—Jens
Mime
View raw message