length() function returns the number of items in an array.
Function type: Miscellaneous
The array to evaluate.
people = ["John", "Jane", "Abed"] length(arr: people) // Returns 3
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.