package
0.1.5
Repository: https://github.com/julien040/anyquery.git
Documentation: pkg.go.dev

# Functions

Find the directory where the plugin can cache data It is recommended to use this function to get the cache directory because the SQL function clear_plugin_cache(plugin_name) will clear the directory returned by this function Internally, this function uses the XDG_CACHE_HOME environment variable so that anyone can override the cache directory to its needs.
Create a new cache at $XDG_CACHE_HOME/anyquery/paths[0]/.../paths[n].
Serialize a value to a type that can be sent to Anyquery, and respecting Anyquery guidelines This is useful to not bother with nil-checks, JSON serialization, etc.

# Structs

Cache is a simple key-value store that can store metadata with rows It is the recommended way to cache data in a plugin because it abstracts away the underlying storage and encryption It also helps the user to clear the cache with the SQL function clear_plugin_cache(plugin_name).
No description provided by the author