Pass Resource as a Parameter

Hello Retool,

We are using Retool to create a monitoring tool that uses a bunch of SQL queries to detect events that are very specific to our database and how clients use our system.

Our software runs in multiple separate instances, and so there is a page for each instance and the queries for each page use a different Resource.

The queries are the same on each page, but it means we have to duplicate the query and change the resource for each one. That is becoming unwieldly as now we have so many of the same query, each with a different Resource.

Can I pass the resource as a parameter so I can reuse the same query across Resources?

I found this thread which suggests it was a feature being considered.

Has that feature come to pass? Is there any other way of achieving it?

Thank you in advance.