array
array_length
Measures one dimension; an empty or missing dimension produces NULL rather than zero.
Formal Syntax & Structure
sql syntaxsql
array_length(array, dimension)Working Example
Example Snippetsql
SELECT array_length(ARRAY[]::int[],1);Measures one dimension; an empty or missing dimension produces NULL rather than zero.
array_length(array, dimension)SELECT array_length(ARRAY[]::int[],1);