Saved Queries
To retrieve the data faster and cache the response saved queries can be used. These can also be used to hide the sources of the query. In the example below we retrieve user submitted genres for Netflix which would be called using the endpoint returned when clicking on view. For this example the url would be the following:
https://usesql.com/query/Kxa1e2/netflix-genres
To refresh the cached results one just needs to append the query parameter refresh=True as shown below:
https://usesql.com/query/Kxa1e2/netflix-genres?refresh=True
Last modified 6mo ago
Copy link