mnesia key of last inserted record

Roberto Saccon rsaccon@REDACTED
Sun Jun 25 23:26:11 CEST 2006


How can I get the key of the last inserted record at mensia ? Right
after mnesia:write I need to know the key. I think  could construct
something with mnesia:match_object() to retrieve that key, but there
must must be something smarter and with less overhead to get that key
!

regards
-- 
Roberto Saccon



More information about the erlang-questions mailing list