From what I can tell, setting the OFFSET dynamically inside the Query JSON with SQL is not possible. I've tried a number of different approaches. Should it be working, or is this not supported? Thanks
I am not sure why you would need to go with "Query JSON with SQL" when querying a SQL database (Disclaimer: I know nothing about postgreSQL nor "Query JSON with SQL"), rather than using the standard postgresql connector.
From what i can tell, running the main query (query1) once and then using the "Query JSON with SQL" resource is much faster for filtering query1 than running the main query again and again to fetch the filtered data.