I generally agree with different databases...but there's 1 caveats. If the
different types of documents emit to the same view they need to be in the
same database.
On Feb 3, 2015 10:26 AM, "Kiril Stankov" <ki...@open-net.biz> wrote:

> I also think that a good way to organize things is to put docs of
> different types in separate databases - this way you can also deal with
> views and other design docs in a more simplified way.
> HTH.
> ------------------------------------------------------------------------
> *With best regards,*
> Kiril
>
> On 2/3/2015 8:18 PM, Stanley Iriele wrote:
>
>> Its pretty standard that every document has a type Field on it that let's
>> you know what kind of type that document is.
>>
>> Then the map function just needs a "if type == " user" for processing
>> specifically users
>> On Feb 1, 2015 3:52 AM, "Ayhan Kesenci" <a.kesenc...@googlemail.com>
>> wrote:
>>
>>  Hello Friends I already know, how to export a usual view from couchdb.
>>> The problem is how I can create a map function for example for my case:
>>>
>>> I have the table User, User is a part of my whole database. And in "User"
>>> there are more tables, for example "color of signs", but user is a part
>>> from a database, so how should my map function looks like ? to get this
>>> ???
>>>
>>>
>>> thank you
>>>
>>>
>>> Ayhan
>>>
>>>
>

Reply via email to