Is there a good reason why we mnesia:dirty_update_counter/3
doesn't have the full syntax of ets:update_counter/3?
In ets we can maintain a counter which wraps at a threshold:
ets:update_counter(Tab, Key, {Pos,Incr,Threshold,SetValue})
But in mnesia we can only do a simple increment:
dirty_update_counter(Tab, Key, Incr)
-Vance