Improve array_upper example
The previous example didn't make it clear whether array_upper returned the last element or the index of the last element.
This commit is contained in:
parent
6c596c29a3
commit
f9e4961b7d
@ -10361,7 +10361,7 @@ SELECT NULLIF(value, '(none)') ...
|
||||
</entry>
|
||||
<entry><type>int</type></entry>
|
||||
<entry>returns upper bound of the requested array dimension</entry>
|
||||
<entry><literal>array_upper(ARRAY[1,2,3,4], 1)</literal></entry>
|
||||
<entry><literal>array_upper(ARRAY[1,8,3,7], 1)</literal></entry>
|
||||
<entry><literal>4</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
|
Loading…
x
Reference in New Issue
Block a user