[erlang-questions] Changing primary key with mnesia:transform_table

Anders Nygren anders.nygren@REDACTED
Tue Mar 10 18:34:42 CET 2015

I just discovered that it is not possible to modify the value of the key
when using mnesia:transform_table.

- I can not find anything in the documentation specifying that it is not

- Why is it not possible to do this?

- is there any way to do this except, first doing mnesia:transform_table
that does the transformation but without changing the key, and then
iterating over the table and modifying the key, i.e. read, delete, and
write modified?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150310/97998765/attachment.htm>

More information about the erlang-questions mailing list