insert a record

Dietmar Schaefer dietmar@REDACTED
Wed May 18 07:44:37 CEST 2005


Hi !

Is there a way of inserting a record into a database without specifying 
the index ?

What I have is :

 mnesia:create_table(centerDisplayProcessesList, [{snmp, [{key, integer}]},
                              {attributes, record_info(fields, 
centerDisplayProcessesList)},
                              {disc_copies, Nodes}]) of

So I have a integer (snmp) index.

Now I would be able to just insert a new record for which I do not care 
about the
index.

Index must be in the range (1..40) but should be supplied automatically !


regards


Dietmar





More information about the erlang-questions mailing list