Hi Guys
We are using graphQL as our key entry to our data, and as such, we are trying a very simple POC to see if we can build our whole admin system in Retool.
The thing is, I am stuck rendering a simple graphQL JSON response where it returns the data in the following format
QUERY
{{query1.data.hostgametimeserieshour.edges}}
RESPONSE
[
{
"node":{
"datetime":"2020-07-30T14:00:00+00:00",
"ccyCode":"USD",
"hostGame":{
"id":"2",
"displayName":"Royal Deuces GBET 1c"
},
"totalPlayers":1,
"totalGameplays":3,
"totalStakes":0.6,
"totalWinnings":0.4,
"financialGgr":0.2,
"financialRtp":66.66666666666667
}
},
{
"node":{
"datetime":"2020-07-30T13:00:00+00:00",
"ccyCode":"USD",
"hostGame":{
"id":"4",
"displayName":"Stallion Thunder Demo 1c"
},
"totalPlayers":1,
"totalGameplays":1,
"totalStakes":0.2,
"totalWinnings":0,
"financialGgr":0.2,
"financialRtp":0
}
}
]
It then creates just one column that I can then map using self, to extract one field, and when I use a calculated field, I then have to specify for each list item, which of course will not work.
I am sure this is really simple, and I am being a noob, but anyone have a quick answer to point me in the right direction?