Merge branch 'node-red:master' into master

This commit is contained in:
unborn-andy
2022-01-05 17:26:16 +02:00
committed by GitHub
8 changed files with 122 additions and 139 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "node-red-node-sqlite",
"version": "1.0.1",
"version": "1.0.2",
"description": "A sqlite node for Node-RED",
"dependencies": {
"sqlite3": "^5.0.2"

View File

@@ -50,6 +50,7 @@ module.exports = function(RED) {
var bind = [];
var doQuery = function(msg) {
bind = []
if (node.sqlquery == "msg.topic") {
if (typeof msg.topic === 'string') {
if (msg.topic.length > 0) {