- My goal: Retrive values form SQL
- Issue: Passing a list of strings after converting the array to a SQL query returns empty objects. If the same values are hard-coded, it works as expected.
JS block:
const list = query1.data.map(row => '${row.Name}');return list.join(',');
Result:
Type: String, Values: βabcdβ, βcdeβ
SQL query:
select * from Table1
where Name in ({{code1.data}})
Result: {}
Can someone please advise?
Thanks