[erlang-questions] Mnesia and primary keys

Patrick Collison patrick@REDACTED
Mon Jan 22 13:34:46 CET 2007


Cool, that helps -- thanks.

On a broader level, though, _should_ I be approaching Mnesia in this  
way? Is there any better way of maintaining relations than doing all  
the ID creation manually? Can Mnesia deal with constraints like  
uniqueness? (Some Googling doesn't throw up anything obvious.)

Cheers,

-Patrick

On 22 Jan 2007, at 12:23, Christian S wrote:

> This seems to be what you want:
>
> http://www.erlang.org/ml-archive/erlang-questions/200508/msg00291.html
>
> PS.
> Primary key is not exactly the same concept as "autoincrement" or  
> "unique"
> key fields.




More information about the erlang-questions mailing list