Skip to content

msg.topic doesn't work as predefined sql queries #18

@iamgaborgithub

Description

@iamgaborgithub

Hi!

I find out that msg.topic is mentioned in the readMe of alasql node, but it isn't used in the code. A made a change on the code at my local. I changed in the readMe msg.topic to msg.query because msg.topic used bz several another nodes. And I changed the node-red-contrib-alasql.js line 9 from var sql = this.query || 'SELECT * FROM ?'; to var sql = this.query || msg.query || 'SELECT * FROM ?'; to use this variable. It works fine for me. Please let me know how can it be released?

Thank you very much, Gábor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions