[erlang-questions] Mnesia and automatic generation of primary keys
Mon Jul 2 16:11:39 CEST 2007
Philip Robinson wrote:
> 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).
> Have you tried mnesia:dirty_update_counter/2 & /3?
Thank you (both). This will probably work for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
More information about the erlang-questions