mnesia:transform_table(Tab, Fun, NewAttributeList)

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Fri Jul 7 09:45:34 CEST 2006


Andreas Hillqvist wrote:
>
> The problem is that I have been thought to to assume that 
> records are tuples.
> You cant have a record name with two definitions, if you have 
> diffrent name, you will have to enter the new recordnam into 
> the databas.

The unwritten rule is that during upgrade - code_change() functions
and mnesia:transform_table() - one breaks the record abstraction
and treats the old records as tuples, like Rudolph and Tobbe suggested.

BR,
Ulf W



More information about the erlang-questions mailing list