couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Mische <volker.mis...@gmail.com>
Subject Re: [PROPOSAL] new underscore namespacing
Date Tue, 03 Dec 2013 23:32:29 GMT
On 12/03/2013 08:35 PM, Alexander Shorin wrote:
> On Tue, Dec 3, 2013 at 11:23 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Tue, Dec 3, 2013 at 8:20 PM, Alexander Shorin <kxepal@gmail.com> wrote:
>>
>>> Sorry, miss the smile, but in every joke there is only a piece of joke (;
>>> Anyway there will be collisions since it's old issue about split
>>> predefined and custom resources in RESTful apps and prefix is quite
>>> common way to solve it with less blood.
>>> --
>>> ,,,^..^,,,
>>>
>>>
>> but what about prefixing all data in _data? Except if we want to store
>> unstructured data in the doc it would work imo.
> 
> Except of naming (I feel _meta will be more verbose, friendly and
> self-explained) imho this is good idea. There I would like to ask
> Volker about how meta works in Couchbase: afaik there they have it as
> stand alone object, but still associated with related doc (or vice
> versa).

I think the easiest it to look at the commit that made the split between
the document and the meta information [1].

In case you want/need more information, feel free to ask.

[1]
https://github.com/couchbase/couchdb/commit/b935f38e2ee77b559cd4c13684140d3213c87ab9

Cheers,
  Volker


Mime
View raw message