logo       

primary key in mnesia: msg#00285

lang.erlang.general

Subject: primary key in mnesia

How can I define a multi attribute primary key for a table?
for example a table based on record f:
-record(f,{f1,f2,f3,f4}).
I want to have {f2,f3} as primary key, with no constraint on f1.
Mohammad R. Moosavi




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise