Categories: Semi-Structured Data
ARRAY_SIZE
Returns the size of the input array. The function does not accept NULL input.
Syntax
ARRAY_SIZE(arr LIST) → INT
- arr: The source array.
Examples
ARRAY_SIZE exampleSELECT ARRAY_SIZE(ARRAY[1, 4, 5])
-- 3
Categories: Semi-Structured Data
Returns the size of the input array. The function does not accept NULL input.
Examples
ARRAY_SIZE exampleSELECT ARRAY_SIZE(ARRAY[1, 4, 5])
-- 3