jaredfromsubway/sails-mssql — pull request #2 by chuckpfaff (2014-12-10 17:30:53+00:00)
Title: added config.options to allow named instance connections

Hi Kyle,

I was having trouble connecting to a named instance of MSSQL and I think I have isolated the problem down to the options object for the tedious driver.

Now when I add an options value to the connections,js it gets passed to tedious and I am able to connect to the MSSQL name instance.

Thought I'd share it with you :)

ProdDB: {
adapter: 'sails-mssql',
host: '127.0.0.1',
user: 'xxxx',
password: 'xxxx',
database: 'xxxx',
options: {
instanceName: 'NamedInstance'
}