array_ndims ( anyarray ) → integerReturns the number of dimensions of the array.
array_ndims(ARRAY[[1,2,3], [4,5,6]]) → 2
Functions / Array Functions And Operators
Returns the number of dimensions of the array.
Reading PG 18current·documented in 19 of 27 versions, 8.4 to 20
array_ndims ( anyarray ) → integerReturns the number of dimensions of the array.
array_ndims(ARRAY[[1,2,3], [4,5,6]]) → 2
Definition snapshot: b7bd9cda · English manual source