sails-sqlserver
v2.0.2
Published
SQL Server Adapter for Sails / Waterline
Downloads
17,174
Maintainers
Readme
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 version | sails-mssql version | sails-mssql branch | | ----------- | ----------- | ----------- | | 1.x | 2.x | master | | 0.12.x | 1.x | 0.12.x |
Bugs
To report a bug, post on the issues tab.
Contributing
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