I’ve just released version 0.1.1.0 of effectful-opaleye, which adds a feature for debugging the efficiency of our DB operations. Specifically, it lets us track the number of SELECT
, INSERT
, UPDATE
and DELETE
operations we’ve performed inside the Opaleye
effect (by table, where possible).
Since I think this is quite a cool feature, and demonstrates the awesome power of Effectful, I’ve written a blog post about the feature, including a demonstration, some motivation, and some details on the implementation.
Enjoy, and please let me know if you notice any mistakes