Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including sails-sqlserver with all npm packages installed. Try it out:

var sailsSqlserver = require("sails-sqlserver")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

sails-sqlserver v2.0.2

SQL Server Adapter for Sails / Waterline

Sails-MSSQL Adapter

MSSQL adapter for Sails framework and Waterline ORM. Allows you to use MSSQL via your models to store and retrieve data. Also provides a query() method for a direct interface to execute raw SQL commands.


Install from NPM.

$ npm install sails-mssql

Branch Structure

sails.js versionsails-mssql versionsails-mssql branch

Bugs   NPM version

To report a bug, post on the issues tab.



Running the tests

To run the tests, point this adapter at your database by specifying a connection URL and run npm test:

WATERLINE_ADAPTER_TESTS_URL=mssql://root:myc00lP4ssw0rD@localhost/adapter_tests npm test

For more info, see Reference > Configuration > sails.config.datastores > The connection URL, or ask for help.


MIT License


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free