No.  Do two requests and merge them.  If you do both requests at the same
time it will be as fast as any db could do internally.  Node (or any other
async platform) is a good match for couch.

I don't know if there is a front-end for couch that can do standard queries
and joins.  If not then there should be.

On Sat, May 26, 2012 at 8:43 PM, Patrick Maia
<[email protected]>wrote:

> Hi all, imagine I have a database that stores documents like these:
>
> { "type":"a", "attr1":"value1.1", "attr2":"value2.1"}
> { "type":"a", "attr1":"value1.2", "attr2":"value2.2"}
> { "type":"b", "attr3":"value3"}
> { "type":"c", "attr4":"value4"}
>
> Is there some way to get all docs where type == "a" or  type == "b" doing
> just one http request to couchdb?
>
> Thanks,
>
> Patrick Maia
>

Reply via email to