dirty mnesia function

Sebastian Strollo sstrollo@REDACTED
Tue Sep 24 03:53:43 CEST 2002


Francesco Cesarini <francesco@REDACTED> 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