You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by N/A N/A <pr...@yahoo.com> on 2011/10/31 15:22:15 UTC

CouchDB internal trigger on update insert

Hello,

Is there any way to define internal trigger in couchdb when one document is updated or inserted. Trigger function, update handler, external process and etc. It is like _changes, but internal in couchdb.

Regards

Re: CouchDB internal trigger on update insert

Posted by N/A N/A <pr...@yahoo.com>.
Okay i'll try, thx


________________________________
From: Benoit Chesneau <bc...@gmail.com>
To: user@couchdb.apache.org; N/A N/A <pr...@yahoo.com>
Sent: Monday, October 31, 2011 5:00 PM
Subject: Re: CouchDB internal trigger on update insert

On Mon, Oct 31, 2011 at 3:22 PM, N/A N/A <pr...@yahoo.com> wrote:
> Hello,
>
> Is there any way to define internal trigger in couchdb when one document is updated or inserted. Trigger function, update handler, external process and etc. It is like _changes, but internal in couchdb.
>
> Regards

of course you can do it in erlang but not in other languages. yet.

- benoit

Re: CouchDB internal trigger on update insert

Posted by Benoit Chesneau <bc...@gmail.com>.
On Mon, Oct 31, 2011 at 4:15 PM, Robert Newson <rn...@apache.org> wrote:
> http://wiki.apache.org/couchdb/Regenerating_views_on_update
>
> shows the basic method.
>
not the same than doing it via script you could push in though :) (a
trigger system would be cool)

- benoit

Re: CouchDB internal trigger on update insert

Posted by N/A N/A <pr...@yahoo.com>.
That looks promising :) Thx


________________________________
From: Robert Newson <rn...@apache.org>
To: user@couchdb.apache.org
Sent: Monday, October 31, 2011 5:15 PM
Subject: Re: CouchDB internal trigger on update insert

http://wiki.apache.org/couchdb/Regenerating_views_on_update

shows the basic method.

On 31 October 2011 15:00, Benoit Chesneau <bc...@gmail.com> wrote:
> On Mon, Oct 31, 2011 at 3:22 PM, N/A N/A <pr...@yahoo.com> wrote:
>> Hello,
>>
>> Is there any way to define internal trigger in couchdb when one document is updated or inserted. Trigger function, update handler, external process and etc. It is like _changes, but internal in couchdb.
>>
>> Regards
>
>  of course you can do it in erlang but not in other languages. yet.
>
> - benoit
>

Re: CouchDB internal trigger on update insert

Posted by Robert Newson <rn...@apache.org>.
http://wiki.apache.org/couchdb/Regenerating_views_on_update

shows the basic method.

On 31 October 2011 15:00, Benoit Chesneau <bc...@gmail.com> wrote:
> On Mon, Oct 31, 2011 at 3:22 PM, N/A N/A <pr...@yahoo.com> wrote:
>> Hello,
>>
>> Is there any way to define internal trigger in couchdb when one document is updated or inserted. Trigger function, update handler, external process and etc. It is like _changes, but internal in couchdb.
>>
>> Regards
>
>  of course you can do it in erlang but not in other languages. yet.
>
> - benoit
>

Re: CouchDB internal trigger on update insert

Posted by Benoit Chesneau <bc...@gmail.com>.
On Mon, Oct 31, 2011 at 3:22 PM, N/A N/A <pr...@yahoo.com> wrote:
> Hello,
>
> Is there any way to define internal trigger in couchdb when one document is updated or inserted. Trigger function, update handler, external process and etc. It is like _changes, but internal in couchdb.
>
> Regards

 of course you can do it in erlang but not in other languages. yet.

- benoit