[erlang-questions] How do you transform a record properly?
Wed Mar 25 15:03:18 CET 2009
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.
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
More information about the erlang-questions