Update query result through api and have it reflect in QueryResults



I’m trying to make a system where I ping two queries through API with parameters and fetch the updated results. Post this I want another query that operates on the QueryResult of these two queries to refresh based on the updated result sets of these two queries.

The problem that I am running into is, that even though I get updated results from the individual base queries, the third query continues to operate on the old result set.

Is there a way I can force a state update of sorts to make sure the third query is operating on a result set that was obtained based on the latest params?