[erlang-questions] Mnesia and automatic generation of primary keys
Philip Robinson
chlorophil@REDACTED
Mon Jul 2 13:01:18 CEST 2007
On 7/2/07, Matej Kosik <kosik@REDACTED> wrote:
> Now when I am thinking about tables I need and their attributes, I would like to generate unique primary keys for new entries to certain tables (where none of their attributes is a clear candidate for primary key).
Matej,
Have you tried mnesia:dirty_update_counter/2 & /3?
Cheers,
Philip
More information about the erlang-questions
mailing list