Skip to main content
Version: 24.3.x

Categories: Semi-Structured Data

ARRAY_SIZE

Returns the size of the input array.

Syntax

ARRAY_SIZE(arr LIST) → numeric

  • arr: The source array.

Examples

ARRAY_SIZE example
SELECT ARRAY_SIZE(ARRAY[1, 4, 5])
-- 3