Description Usage Arguments Closure Arguments
Use unenclose to check the generated function
1  | fetch_data(exists_f, get_f, set_f)
 | 
exists_f | 
 function used to check if cache exists.  | 
get_f | 
 function used to get data from cache  | 
set_f | 
 function used to set new data into cache if data not exists.  | 
key. Redis key. A string.
query_f. function used to get new data. Usually a sql query.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.