Package Exports
- jsharmony-db-mssql
- jsharmony-db-mssql/index.js
- jsharmony-db-mssql/test/index.tests.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsharmony-db-mssql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
==================
jsharmony-db-mssql
==================
jsHarmony Database Connector for SQL Server
Installation
npm install jsharmony-db-mssql --save
Usage
var JSHmssql = require('jsharmony-db-mssql');
var JSHdb = require('jsharmony-db');
var dbconfig = { _driver: new JSHmssql(), server: "server.domain.com", database: "DBNAME", user: "DBUSER", password: "DBPASS" };
var db = new JSHdb(dbconfig);
db.Recordset('','select * from c where c_id >= @c_id',[JSHdb.types.BigInt],{'c_id': 10},function(err,rslt){
console.log(rslt);
done();
});This library uses the NPM mssql library. Use any of the connection settings available in that library.
Release History
- 1.0.0 Initial release