I want to use the values in a retool table as the 'right-hand-side' of a SQL WHERE clause to query my database. Seems like a noob question - I'm a noob!
This doesn't work, I think, because the data isn't structured right (not a list of objects, not an array (not sure on the right language)). I imagine this is quite easy. Any assistance would be great!
You may want to try using = ANY (formatDataAsArray({{table1.data.ProjectID}}))
Posting more information and screenshots always leads to a faster solution....
And the prepared statements shouldn't need to be disabled since the value is the only dynamic part of the query! They would need to be disabled if your operator or column name were dynamic