diff --git a/storage/mysql/68-mysql.html b/storage/mysql/68-mysql.html index b499da38..075fb6f7 100644 --- a/storage/mysql/68-mysql.html +++ b/storage/mysql/68-mysql.html @@ -24,12 +24,17 @@ +
+ + +
@@ -86,7 +91,7 @@ var levelNode = RED.nodes.node(this.mydb); return this.name||(levelNode?levelNode.label():"mysql"); }, - labelStyle: function() { + labelStyle: function() { return this.name?"node_label_italic":""; } }); diff --git a/storage/mysql/README.md b/storage/mysql/README.md index 4371cfaa..0af76eba 100644 --- a/storage/mysql/README.md +++ b/storage/mysql/README.md @@ -7,7 +7,7 @@ Install Either use the `Node-RED Menu - Manage Palette - Install`, or run the following command in your Node-RED user directory - typically `~/.node-red` - npm install node-red-node-mysql + npm i node-red-node-mysql Usage @@ -17,7 +17,7 @@ Allows basic access to a MySQL 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... +By its 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`. diff --git a/storage/mysql/package.json b/storage/mysql/package.json index 2e053b75..c328ef50 100644 --- a/storage/mysql/package.json +++ b/storage/mysql/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-mysql", - "version": "0.0.2-", + "version": "0.0.20", "description": "A Node-RED node to read and write to a MySQL database", "dependencies": { "mysql": "^2.18.1"