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: Couch DB metadata
Date Fri, 11 May 2012 18:06:52 GMT

On May 11, 2012, at 10:52 AM, dan@danmyersconsulting.com<mailto:dan@danmyersconsulting.com>
wrote:

Brian, how do I do that in the database itself so other users can see it?

CouchDB is freeform, remember. Just create a document with some pre-defined ID (like “attribute_metadata”
perhaps) and store metadata in it in some pre-defined format.

(Or it might be better to store this in a new attribute of a design document, instead of your
own document; in that case you’d need to pre-define the name of the design document.)

—Jens

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