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
Bug Reports and Feedback
Thank you for being willing to help test InfluxDB v2.0 beta! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation. Submit feedback using one of the following methods: