mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
3d750a59eb
commit
f9b4d2ec01
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-sqlite",
|
"name": "node-red-node-sqlite",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "A sqlite node for Node-RED",
|
"description": "A sqlite node for Node-RED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sqlite3": "^5.0.2"
|
"sqlite3": "^5.0.2"
|
||||||
|
@ -50,6 +50,7 @@ module.exports = function(RED) {
|
|||||||
var bind = [];
|
var bind = [];
|
||||||
|
|
||||||
var doQuery = function(msg) {
|
var doQuery = function(msg) {
|
||||||
|
bind = []
|
||||||
if (node.sqlquery == "msg.topic") {
|
if (node.sqlquery == "msg.topic") {
|
||||||
if (typeof msg.topic === 'string') {
|
if (typeof msg.topic === 'string') {
|
||||||
if (msg.topic.length > 0) {
|
if (msg.topic.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user