From bb6491942ea3b1acc6610f17a25863abd76a6922 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 18 May 2021 09:11:41 +0100 Subject: [PATCH] Merge Pool PR. --- storage/mysql/locales/en-US/68-mysql.html | 5 +++-- storage/mysql/package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/mysql/locales/en-US/68-mysql.html b/storage/mysql/locales/en-US/68-mysql.html index 2a31875d..a0841f1c 100644 --- a/storage/mysql/locales/en-US/68-mysql.html +++ b/storage/mysql/locales/en-US/68-mysql.html @@ -11,8 +11,9 @@ By its very nature it allows SQL injection... so be careful out there...

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

msg.payload can contain an array of values to bind to the topic.

-

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

+

Typically the returned payload will be an array of the result rows. Note: + these are of type RowDataPacket, and not a completely standard object.

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

-

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

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

mysqlReconnectTime: 30000,

diff --git a/storage/mysql/package.json b/storage/mysql/package.json index 285e6b04..66a3afab 100644 --- a/storage/mysql/package.json +++ b/storage/mysql/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-mysql", - "version": "0.1.10", + "version": "0.2.0", "description": "A Node-RED node to read and write to a MySQL database", "dependencies": { "mysql": "^2.18.1"