SQL Database connection for dev and live

I use the SQL Database Connector plugin and I have two separate databases. I would like to do same query to my test database on development (version-test) and my live database on the live version of my app. Can I do it dynamically rather than manually changing the connection string for all my queries every time.

This topic was automatically closed after 70 days. New replies are no longer allowed.