|
-
- array_append(anyarray, anyelement)
-
-
+
+ array_append(anyarray, anyelement)
+
+
anyarray
append an element to the end of an array
array_append(ARRAY[1,2], 3)
|
-
- array_cat(anyarray, anyarray)
-
-
+
+ array_cat(anyarray, anyarray)
+
+
anyarray
concatenate two arrays
array_cat(ARRAY[1,2,3], ARRAY[4,5])
|
-
- array_dims(anyarray)
-
-
+
+ array_dims(anyarray)
+
+
text
returns a text representation of array's dimensions
array_dims(ARRAY[[1,2,3], [4,5,6]])
|
-
- array_lower(anyarray, int)
-
-
+
+ array_lower(anyarray, int)
+
+
int
returns lower bound of the requested array dimension
array_lower('[0:2]={1,2,3}'::int[], 1)
|
-
- array_prepend(anyelement, anyarray)
-
-
+
+ array_prepend(anyelement, anyarray)
+
+
anyarray
append an element to the beginning of an array
array_prepend(1, ARRAY[2,3])
|
-
- array_to_string(anyarray, text)
-
-
+
+ array_to_string(anyarray, text)
+
+
text
concatenates array elements using provided delimiter
array_to_string(ARRAY[1, 2, 3], '~^~')
|
-
- array_upper(anyarray, int)
-
-
+
+ array_upper(anyarray, int)
+
+
int
returns upper bound of the requested array dimension
array_upper(ARRAY[1,2,3,4], 1)
|
-
- string_to_array(text, text)
-
-
+
+ string_to_array(text, text)
+
+
text[]
splits string into array elements using provided delimiter
string_to_array('xx~^~yy~^~zz', '~^~')