Node-red is a nodejs application which uses a single thread. What makes nodejs fast is the use of asynchronous functions. Most programs will sit and wait for something to complete before continuing with the next task. However nodejs applications start a task and then continue on with the next task. They return to the previous task when they are notified that it is complete. Click to rate this post! [Total: 0 Average: 0]
Continue readingCategory: Node-Red
Node-Red SQlite- Using a Prepared Statement
Passing database command in the topic risks a SQL injection as the payload isn’t sanitised unless you do it. An alternative and somewhat easier method is to use a prepared statement. Click to rate this post! [Total: 1 Average: 5]
Continue reading