Cool! Would something like this work?
It basically uses the Retool query property “additionalScope” to call the target query as many times as you need and dynamically pass in each value.
Here’s a more in depth read on additionalScope!
http://community.retool.com/t/how-to-use-additionalscope-in-your-queries/13343