volunteer wanted to write a few FAQ entries about Mnesia

Chris Pressey cpressey@REDACTED
Fri Feb 21 23:05:11 CET 2003


On Fri, 21 Feb 2003 11:53:02 +0100 (MET)
Ulf Wiger <etxuwig@REDACTED> wrote:

> On Thu, 20 Feb 2003, Chris Pressey wrote:
> 
> >Records are accessed by a single key (which may be unique
> >or duplicate) and there is no concept of a secondary key.
> 
> Actually there is. You can define an index on a non-key
> attribute, and access records using mnesia:index_read/3 or
> index_match_object/2.

Oops!  I meant there is no concept of an aggregate key, i.e. of using
multiple fields to identify a record.

-Chris



More information about the erlang-questions mailing list