As it can be seen below , datetime is the local date and time I'm intending to insert into the db and it's part of the INSERT command into sqlite.
I do not succeed in choosing the correct syntax for datetime that I understand is a string.
The flow also shows the CREATE TABLE node, where is shown that DateTime is a column header.
Also feed the output of the function node into a debug node set to Show Complete Message and copy/paste the output here. Also paste the error message that you should see on the output of the db node.
Don't use msg as a variable name unless it is a message, you will get confused at some point if you do that. At least I would.
Also it is good practice not to make a new message when returning, but return the original message after setting up the properties it needs.
I'll give a try to those options.!!!
Can you tell me where get info about command syntax for sqlite clauses using node
red. There're many tutorial on line about sqlite clauses and they give you examples.
But I need the general syntax to follow with node-red.