incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Tarr <dominic.t...@gmail.com>
Subject Re: Cross/Joined Database Access?
Date Tue, 22 Mar 2011 11:26:18 GMT
you would have to do multiple http requests, i think.

would it be possible to combine all of the dbs into one database and just
have a field = user1,user2 etc?

somethings like this seem weird, coming from relational databases, but thats
couchdb.

On Tue, Mar 22, 2011 at 9:02 PM, Marc Schwering <mschwering@weluse.de>wrote:

> Hi there.
>
> Is it possible // How do i Search on multiple Databases?
>
> Given one Layout/Schema of Entities:
> Postings => id; title; content; timestamp
>
> This Schema exists due multiple instances of one Application (for different
> Users) on n Databases. Like: db1,db2,db3
>
> I want to do two fetches:
>
> a) all Posts since time X until Y sorted by timestamp. from db1 & db3.
> b) all Posts since time X until Y sorted by timestamp. from db2 & db3.
>
> Is that possible? If so, how?
>
> Thanks in advance
>
> Marc
>
>  --
> M.Schwering
>
>

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