node-mssql-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

Node MSSQL Helper

CI status GitHub

Node MSSQL Helper is a NPM library for call Query and Store Procedure from MSSQL server.

Installation

npm install --save node-mssql-helper

or

yarn add node-mssql-helper

Usage

import NodeMSSQLHelper from 'node-mssql-helper';

// Init a instances of module
const configDB = {
      user: '...',
      password: '...',
      server: '...',
      database: '...',
};

const connect = new NodeMSSQLHelper(configDB);

// Call a query

const results = await connect.Query('SELECT * FROM tableName ....',param1, param2, param3, ....);

// Call a Store Procedure
const results = await connect.ExecProc(procedureName, param1, param2, param3, ....);

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i node-mssql-helper

Weekly Downloads

0

Version

1.0.13

License

MIT

Unpacked Size

20.3 kB

Total Files

15

Last publish

Collaborators

  • leopham