lcarli / NodeRed-Azure-SQL

NodeRed node to query easily Azure SQL
Apache License 2.0
1 stars 6 forks source link

Multiple nodes in same application not working #3

Open kasarol opened 6 years ago

kasarol commented 6 years ago

If you try to create a flow with two different queries that both have their own Azure SQL node, only a random one works. This is quite obviously not what one would expect to see. This is also fairly trivial to fix: just move all the variables (dbAddress, dbName, username, pass, node...) from main function to the scope of AzureSQL.