[erlang-questions] qlc dirty tables

Ulf Wiger (TN/EAB) ulf.wiger@REDACTED
Sat May 5 21:48:36 CEST 2007


Try using mnesia:activity(async_dirty, Fun).

You use a fun just as you would with mnesia:transaction/1,
but mnesia will map all ops to corresponding dirty ops.

BR,
Ulf W 

> -----Original Message-----
> From: erlang-questions-bounces@REDACTED 
> [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Paul Mineiro
> Sent: den 5 maj 2007 21:40
> To: erlang-questions@REDACTED
> Subject: [erlang-questions] qlc dirty tables
> 
> Hi.
> 
> I'd like to do dirty reads with qlc.  The dirty analog to 
> mnesia:table was straightforward to implement.  Therefore the 
> fact that it is not there gives me pause.
> 
> Is there a deep reason why mnesia:dirty_table doesn't exist?
> 
> -- p
> 
> Many parts of Iraq are stable now.  But of course what we see 
> on television is the one bombing a day that discourages everybody.
> 
>         -- First Lady Laura Bush
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 




More information about the erlang-questions mailing list