dirty mnesia function

Sebastian Strollo <>
Tue Sep 24 03:53:43 CEST 2002


Francesco Cesarini <> writes:

> Try binding your result to a variable and print it out. For example
> 
>  > RecordList = mnesia:dirty_match_object(piuTable,
> {piuTable,'_','_','_','_','_','_','_','_','_','_','_','_','_'}).
>  > io:format("~p~n",[RecordList]).

I think ~p is actually what is doing the "pretty printing" including
adding |... when the data is too deep (see io_lib:print). If you want
to print a term completely use ~w.

Cheers,

/Sebastian



More information about the erlang-questions mailing list