machinepack-sqlserver

Structured Node.js bindings for connecting and running queries against a MsSql database.

Usage no npm install needed!

<script type="module">
  import machinepackSqlserver from 'https://cdn.skypack.dev/machinepack-sqlserver';
</script>

README

node-machine logo machinepack-mssql

Build Status

Structured Node.js bindings for MSSQL.

See https://github.com/node-machine/driver-interface for more background information about this package.

Installation

$ npm install machinepack-sqlserver

Running Test

The repo is configured to run all the tests in Docker containers. The composition uses two containers:

  1. Public sql server 2017 container published by Microsoft
  2. A container for testing the package based on official Node 10 release

To run the tests in docker env

$ export SA_PASSWORD=Password1
$ docker-compose up

The github repo is configure to run the tests in Travis-CI on code push. The status of the build can be seen at the top of the repo

Help

For more examples, or if you get stuck or have questions, click here.

Bugs  

To report a bug, add an issue in github.

Acknowledgements

This module is largely a port of the machinepack-postgresql module.

In addition, the work done by Dave Preston machinepack-mssql has been used in this repo.

License

MIT

This package is free and open-source under the MIT License.