Hi! I have what seems like a very simple problem, but can't solve it.
I need to pass the values from a select component (or another component) to an IN query in MySQL.
An example query would be:
select *
from orders
where type in ('string1', 'string2))
However, when I pass two strings from a Select component, the query returns an error or null, because the strings are not properly encased in single quotes. I've tried transforming the select1.values output into a comma separated list, and also adding the single brackets into the value field of the component.
Any ideas?