incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wout Mertens <wout.mert...@gmail.com>
Subject Re: CouchDB namespace mechanism
Date Tue, 19 Oct 2010 12:48:13 GMT
You need to create views: http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views

Cheers,

Wout.

On Oct 19, 2010, at 14:42 , Alex Ivasyuv wrote:

> Hi,
> 
> I faced an issue, with different types of documents in CouchDB.
> For example, I have 3 types of doc in DB:
> 
> list-1
> list-2
> list-3
> 
> tag-1
> tag-2
> tag-3
> 
> user-1
> user-2
> user-3
> 
> And issue for me, that they are lie in one layer, e.g. http://localhost:5984/mydb/<here
all docs>
> 
> Is there any mechanism to decoupled them into different layers, e.g. namespace or something
else:
> 
> {user: [user-1: {...}]}
> {lists: [list-1, list-2, ...]}
> 
> where user and list - namespaces for documents.
> 
> Seems like I wrong understood the paradigm of NoSQL and CouchDB as instance.
> 
> Thanks in advance,
> 
> 


Mime
View raw message