Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.

On this page

Show all

Collection Functions

Updated on 2022-09-23 GMT+08:00

Description

Table 1 Collection functions

Function

Description

CARDINALITY(array)

Returns the number of elements in array.

array '[' integer ']'

Returns the element at position INT in array. The index starts from 1.

ELEMENT(array)

Returns the sole element of array (whose cardinality should be one)

Returns NULL if array is empty.

Throws an exception if array has more than one element.

CARDINALITY(map)

Returns the number of entries in map.

map '[' key ']'

Returns the value specified by key value in map.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback