Is it possible in MNESIA

Chris Pressey cpressey@REDACTED
Thu Oct 31 08:00:21 CET 2002


On Thu, 31 Oct 2002 06:13:15 +0000 (GMT)
Suresh S <sureshsaragadam@REDACTED> wrote:

> 
> sir,
> 
> here is there is any functionality in mnesia such that
> 
> when ever a record is updated we can execute any call
> back function,
> 
> like trigger function 
> 
> on each trasaction of mnesia tables 
> 
> is it possible in mnesia 
> 
> please let me know 
> 
> thanking u

What you possibly want to do is to subscribe to table events.  That way
an event is generated every time something happens to the table (e.g. when
a record is updated).  See:

http://www.erlang.org/doc/r9b/lib/mnesia-4.1/doc/html/Mnesia_chap5.html#5.7

-Chris



More information about the erlang-questions mailing list