I have a query that changes the data in a table. How do I set the page or the table to refresh after the query runs?
Normally, if your table’s content is populated by a query’s result (i.e. you have something like {{ query1.data }}
in your table’s “Data” field, that table will automatically refresh whenever that query completes. Does this not work for you?
@pdamato – I’m guessing that you have 2 queries get
and update
… if the table is populated by {{ get.data }}
and then updated with {{ update.data }}
, you’ll want to chain the get
query on success of running the update
query. This option is in the advanced settings below the code editor on the update
query. LMK if that works for you!
By the way, we have some more info here in our docs too!