Connection Cluster for MS SQL Server

0

I need to create a Connection Cluster for MS SQL Server.

Here is an example I made in MySQL:

var mysql = require('mysql');

var db_cluster_config = require('./dbMysqlUtils').cluster_config;

var mySqlDB = function (config, logConfig) {
   this.cluster = mysql.createPoolCluster(db_cluster_config);
   this.cluster.add('Cfg', config);
   this.cluster.add('Log', logConfig);
   this.configs = { cfg: config, log: logConfig };
}

But it does not work for MS SQL Server.

    
asked by anonymous 12.09.2017 / 21:22

0 answers