couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Walgran <jwalg...@gmail.com>
Subject Re: Best practice: adding an app specific chunk to a document
Date Thu, 06 Aug 2009 23:53:22 GMT
I don't believe that is possible, and even if it was, there would not
be a way for user actions to change the document "meta" section at
runtime.

On Thu, Aug 6, 2009 at 7:16 PM, Noah Slater<nslater@apache.org> wrote:
> On Thu, Aug 06, 2009 at 06:47:36PM -0400, Justin Walgran wrote:
>> Is it wrong to "pollute" the existing documents with my extra meta section?
>> Are there any thoughts on the best value to use as a key for my data section
>> to minimize collisions? Is a single master GUID my only choice?
>
> If CouchDB let us create views on views, I guess the most sensible thing to do
> would be to create a view that "injects" your metadata in without altering the
> original document. You could then create additional views on top of this. Of
> course, there are a whole range of possible scenarios where this wouldn't be
> appropriate, but potentially, it's still an interesting idea.
>
> Best,
>
> --
> Noah Slater, http://tumbolia.org/nslater
>

Mime
View raw message