I recently came across and issue where I would like to pass in multiple elements to a CV. I noticed a similar post that only took one parameter and the solution was to append the parameter to a string. In my case I am sending a JSON object that I would parse and would like to pass in a list in the select statement. Is this possible without adding logic that just appends to the query string? If I am close and making some syntax errors please assist!
var query = "SELECT x, y, z, FROM SCHEMA.PATH/CV_MULTI_IP ('PLACEHOLDER' = ('$$IP_1$$', ?)) GROUP BY a, b, c";
var IP_1 = [{"VAR": "VAL"}, {"VAR": "VAL"}, etc...];
output = conn.executeQuery(query, IP_1);
Thanks,
Scott