jsharmony-db-mssql-native

1.2.0 • Public • Published

=========================

jsharmony-db-mssql-native

=========================

jsHarmony Database Connector for SQL Server (MS Native Driver)

Installation

npm install jsharmony-db-mssql-native --save

Usage

var JSHmssql = require('jsharmony-db-mssql-native');
var JSHdb = require('jsharmony-db');
var dbconfig = { _driver: new JSHmssql(), server: "server.domain.com", database: "DBNAME", options: { trustedConnection: true } };
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

Package Sidebar

Install

npm i jsharmony-db-mssql-native

Weekly Downloads

1

Version

1.2.0

License

LGPL-3.0

Unpacked Size

23.5 kB

Total Files

15

Last publish

Collaborators

  • apharmony