Connect to Azure SQL DB from a Azure Functions in JS
问题 I am trying to connect to my Azure SQL DB from an azure function written in nodeJS. I have set the connection strings in the application settings and it still does not work. I used ODBC key for connection settings. Did anyone try this? Below is the sample code for my function var Connection = require('tedious').Connection; var Request = require('tedious').Request; // Create connection to database const config = process.env["sqldb_connection"]; var connection = new Connection(config); //