Does it matter?

Hello,

I have a function, which results string array. I want to insert it into sqlite database line by line. Each line is the following value. Do I have to somehow convert the function message in order to insert it into the database?

Change the title to a more descriptive one. "Does it matter?"
Yes it does

3 Likes

Provide more information.

What is in the array of strings?

What value?

That doesn't really make any sense. You have to generate SQL statements if that's what you mean. But again, you haven't explained what is in the strings.

This is the best I can offer...
Send your array to a split node to create individual messages. If the string contains valid SQL, then feed that to the sqlite node (you might need a change node (between them) to move the SQL string to msg.topic)

Ps, please change the title to something relevant.

Is this a continuation of your other thread?

If so, please stop creating multiple threads for the same issue. Stick to your original.

Closing this as the title makes no sense and the same discussion is in Insert into SQlite database?