Mnesia and uniqueness on two keys

Vance Shipley <>
Wed Jul 13 17:21:39 CEST 2005


On Wed, Jul 13, 2005 at 03:10:16PM +0200, Ulf Wiger wrote:
}
}  In Mnesia, the 2nd element of the record is always the
}  primary key (if 'set' or 'ordered_set'). I know of no


I had not noticed that before.  In ets you can specify 
{keypos,Pos} so that any field in the record can be the 
key.  I wonder why this support isn't in mnesia?

	-Vance



More information about the erlang-questions mailing list