On Wed, Jan 4, 2012 at 10:38 PM, Benoit Chesneau <[email protected]> wrote:
> On Wed, Jan 4, 2012 at 11:35 PM, Filipe David Manana
> <[email protected]> wrote:
>> While the use case for the system databases is clear, I wonder what
>> are the possible motivations to do it for regular databases.
>>
>> Does anyone has real world scenarios/examples where this level of
>> customization is useful and can't be done with the existing
>> infrastructure?
>>
>>
> Yes, read my example.

Ok, I see.

I wonder if adding on_changes and on_all_docs isn't a bit too much
complicated from a user's point of view.
Following that reasoning, there should be a "on_view_with_include_docs_true".

The after_read_doc callback should work for these 3 cases when
?include_docs=true is specified.

>
> - benoît



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Reply via email to