invalidate
To clear the cache of the database and the values stored by cached()
Last updated
To clear the cache of the database and the values stored by cached()
Last updated
If you execute this function in any table of your database, all values in the database cache (e.g. via cached()
) will be deleted.
This causes the cached()
function to re-execute the script it contains on the next computation.
invalidate()
void
Result: The database cache is empty.
cached
, which runs a given script only once and caches and returns the output value.