Modifying all entries in a mnesia table

Andre Nathan <>
Thu Dec 2 04:01:17 CET 2010


Hello

I have a mnesia table for a quota system. Quotas are specified as daily
values, so the counters should be reset to 0 every 24h. Is there
anything more efficient than traversing the table with
mnesia:{first/1,next/2} and issuing a write for each record?

Thanks
Andre



More information about the erlang-questions mailing list