couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: REST, Hypermedia, and CouchApps
Date Thu, 26 Feb 2009 11:54:33 GMT

On 26 Feb 2009, at 12:42, Patrick Antivackis wrote:

>>
>> That would certainly lower the number of require requests. I thought
>> for a minute about using a temp_view for this, but there is no way to
>> restrict them to run on only the design docs, so the overhead could  
>> be
>> tremendous. I still think it'd be trivial to implement as part of a
>> view-like response from /db/_design/
>>
>
> Why don't you just create a view looking in _design/docs that have  
> either an
> _attachment like index.html or if the couchapp.index field exist ?

Because a view needs to run through all documents in all databases.

Cheers
Jan
--


Mime
View raw message