Thanks - yes, I'll have to try and see.
In the moment I can only model stuff in terms of SQL, which I like, but becomes tedious typing almost the same query in 50 places...
(My last API was in Go and felt like too much work, even though it worked nicely in the end.)