I have a working SQL query Cases and want to use part of that query result Cases.data.id (an array of integers) in a WHERE IN clause in a subsequent query. I've tried manipulating the JS array into different forms with JSON.stringify(), join() etc. but I'm not having any luck.
Thank you for the suggestion, but no joy. I think that's really to transform columnar SQL query results into arrays. Cases.data.id is already an array.