Hi, brand new here... trying to access data from a graphql api and populate a table.
My table populates correctly for the integer I specify, however I would like to loop the query incrementing the integer by 1 and adding a new row to the table.
The integer to increment would be id: 1. Any help would be greatly appreciated.
It looks as though you may want to use additionalScope here. If you set up your GraphQL query to use arguments as demonstrated in these docs you can then pass the
id as a variable from Retool that gets defined when the query is triggered using
additionalScope. There's an example here of how to do that and then return all the results of your queries together.
Let me know if those docs raise any additional questions