node-red-node-mssql

0.0.3 • Public • Published

node-red-node-mssql

A Node-RED node to read and write to a mssql database.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-node-mssql

Usage

Allows basic access to a mssql database.

This node uses the query operation against the configured database. This does allow both INSERTS and DELETES.

By it's very nature it allows SQL injection... so be careful out there...

The msg.topic must hold the query for the database, and the result is returned in msg.payload.

Typically the returned payload will be an array of the result rows.

If nothing is found for the key then null is returned.

The reconnect retry timeout in milliseconds can be changed by adding a line to settings.js

mssqlReconnectTime: 30000,

Readme

Keywords

none

Package Sidebar

Install

npm i node-red-node-mssql

Weekly Downloads

7

Version

0.0.3

License

none

Last publish

Collaborators

  • caldweca