[FEATURE] Add ability to change the database assigned to named queries

I have multiple projects on a gateway, each with their own databases to store e.g. audit data. I would like to configure a single named query to query the database I choose. At the moment it’s super awkward as I have to create multiple duplicate named queries, one for each database, and then have one Table component in Perspective for each one, only showing the one selected. Very inefficient…

There’s a special parameter type for selecting a datasource. If otherwise identical, only one NQ is needed.