[erlang-questions] How to get a unique id from mnesia.

Guorui Ji <>
Sat Dec 15 10:56:57 CET 2007


I need your help, all!!

for example:

-record(item, {uid, name}).

I want create a table to store the item record, and the item.uid is a
auto-increament unique id.

How to do it. Does mnesia have a build-in method?? I have not found!!!

Thanks!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071215/1dbb251e/attachment.html>


More information about the erlang-questions mailing list