Run query for every row of table and return values for each in array?

For anyone facing a similar challenge - I found the answer on Stack Overflow here

Specifically, I created a JS Transformer that looks like this:

var arr = {{ getTempoTimeLogs.data }}

const res = arr.flatMap(({ results }) => results);

return (res)

This gives me a simple array of all logs which I can directly reference in as a table source as:

{{tfrm_tempoTimeLogs.value}}

1 Like