couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dionne <dio...@dionne-associates.com>
Subject Re: REST, Hypermedia, and CouchApps
Date Thu, 26 Feb 2009 12:08:51 GMT
Patrick,

   I think an meant to say *would*. Views only run within a database.

Cheers,

Bob




On Feb 26, 2009, at 6:57 AM, Patrick Antivackis wrote:

> And ?
> Once it has runned once, it just takes into account the new docs
>
> 2009/2/26 Jan Lehnardt <jan@apache.org>
>
>>
>> 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