[erlang-questions] How do you transform a record properly?
Bengt Kleberg
bengt.kleberg@REDACTED
Wed Mar 25 15:03:18 CET 2009
Greetings,
You are doing it the right way.
Unless you change the name of the tuple when you change the contents.
But that would perhaps be a problem for mnesia.
bengt
On Mon, 2009-03-23 at 20:18 -0700, ryeguy wrote:
> How would you add a field to a table using mnesia:table_transform? I
> got it to work by just using a raw tuple in the function header, but
> how do you match the old record, then output the new record with just
> the new field added/changed?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list