Mnesia table changelog

Sun Jan 11 11:19:25 CET 2004

On Sat, 10 Jan 2004 13:31:25 -0500
Leon Smith <lps@REDACTED> wrote:
> ... but I'm curious if 
> Mnesia already has functionality I could leverage.

mnesia table events (see Mnesia User Guide, section 5.7.2) get you the ability to trap and process every record update, with old and new record data provided.

The only slight issue I have with this is that transaction boundaries don't show as seperate events; for my application (echoing changes to a derived copy of a table) means that I'm now looking at doing this in application instead.



More information about the erlang-questions mailing list