Skip to content

waterlinejs/sqlserver-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MS SQL Server Waterline Adapter

NPM version Build status Dependency Status

Official Microsoft SQL Server adapter for Waterline. Tested on SQL Server 2012 and 2014, but should support any SQL Server 2005 and newer.

1. Install

$ npm install waterline-mssql --save

2. Configure

config/models.js

{
  connection: 'sqlserver'
}

config/connections.js

{
  sqlserver: {
    adapter: 'waterline-mssql',
    user: 'cnect',
    password: 'pass',
    host: 'abc123.database.windows.net' // azure database
    database: 'mydb',
    options: {
      encrypt: true   // use this for Azure databases
    }
  }
}

License

MIT

Maintained By

About

Microsoft SQL Server Adapter for Waterline

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%