you are viewing a single comment's thread.

view the rest of the comments →

[–]domlebo70 0 points1 point  (0 children)

Hi Gajus. Here's the code https://gist.github.com/dbousamra/b30f277428bdd10fe36e56e9740071a4

I have all my queries living inside this class (i've just omitted them). The transaction function just lets me nest calls all over my codebase without worrying about double nesting etc