I have a query which is generated by a query builder and which relies on the computation of user variables in the query to affect the generation of other outputs from the qu