Slackbot
08/08/2023, 5:02 AMSergio Ferragut
08/08/2023, 5:18 PMkeys as complex<json> and then spell out the iteration through the array manually with something like this where you'd likely need to go up to a high array index value to cover the largest arrays in your data:
SELECT *
FROM "inline_data"
WHERE
(
(JSON_VALUE(keys, '$[0].name') = '$flow.key.i_CustomerName' AND JSON_VALUE(keys, '$[0].value') = 'TEST')
OR
(JSON_VALUE(keys, '$[1].name') = '$flow.key.i_CustomerName' AND JSON_VALUE(keys, '$[1].value') = 'TEST' )
)