SQL cache functions
The InfluxDB 3 Cloud SQL implementation supports the following functions that return data from InfluxDB 3 Cloud caches.
distinct_cache
Returns data from an InfluxDB 3 Cloud distinct value cache.
distinct_cache(table_name, cache_name)Arguments
- table_name: Name of the table associated with the distinct value cache (formatted as a string literal).
- cache_name: Name of the distinct value cache to query (formatted as a string literal).
last_cache
Returns data from an InfluxDB 3 Cloud last value cache.
last_cache(table_name, cache_name)Arguments
- table_name: Name of the table associated with the last value cache (formatted as a string literal).
- cache_name: Name of the last value cache to query (formatted as a string literal).
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Cloud and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.