couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go canal <>
Subject Re: how to work on multiple databases
Date Wed, 23 Sep 2009 09:46:06 GMT
thanks for a quick response. 

I agree that the use case is application specific; however, I tend to think that the data
model is actually generic.

I do not know the design intent of a 'database' in CouchDB. For performance reason, and/or
other something else. But I thought that since we have an API for getting all DBs, we might
have something else for developers to manage a groups DBs.


From: Nadav Samet <>
Sent: Wednesday, September 23, 2009 11:03:58 AM
Subject: Re: how to work on multiple databases

The HTTP API works against one database at a time (at one http server). All
libraries I have seen will let you talk to multiple databases, but don't
have any functionality to send a single query to several databases and
aggregate the results. (This kind of functionality is too
application-specific to be in a general purpose library.)
On Tue, Sep 22, 2009 at 7:51 PM, go canal <> wrote:

> Hello,
> I am only one-day 'old' in the Couch world, CouchDB is really cool :-)
> I have a lot of questions though, sorry if these had been already
> answered...
> Are there APIs available for working on multiple databases ?
> Here is the use case/data model:
>  * a CouchDB database for one project
>    all project related documents are stored in the DB.
>  * a user can participate in multiple projects
> let's say a user wants to display a list of his documents in all projects,
> how do we support this ? Do I have to issue one query command for each
> database then aggregate the result ?
> thanks
> canal

Sincerely yours,

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