online documentation for r10b

Hakan Mattsson <>
Wed Feb 9 16:41:45 CET 2005


On Wed, 9 Feb 2005, Bengt Kleberg wrote:

BK> here i go again. this time i wonder if the manual page for the mnesia module
BK> is correct when it says:
BK> 
BK> ''dirty_delete_object(Tab, Record)

Yes.

BK> 
BK> This is the dirty equivalent of the mnesia:delete_object/3 function.''
BK> 
BK> i can not find delete_object/3.

Where did you look?

Try "erl -man mnesia" and search for delete_object.
The description of delete_object/3 is located between
delete_object/1 and delete_schema/1.

BK> secondly, most of the dirty_*() functions has a return specification like:
BK> 
BK> dirty_read(Tab, Key) -> ValueList | exit({aborted, Reason}
BK> 
BK> since dirty_read/2 is not supposed to be used in a transaction i wonder if
BK> ''aborted'' is correct?

Yes.

/Håkan


More information about the erlang-questions mailing list