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.

Installation

Install from NPM.

$ npm install sails-mssql

Branch Structure

sails.js versionsails-mssql versionsails-mssql branch
1.x2.xmaster
0.12.x1.x0.12.x

Bugs   NPM version

To report a bug, post on the issues tab.

Contributing

NPM

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.

License

MIT License

Metadata

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