Skip to main content

array_distinct

Remove duplicate values from the array x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_except

Returns an array of elements in x but not in y, without duplicates. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_intersect

Returns an array of the elements in the intersection of x and y, without duplicates. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_join

Concatenates the elements of the given array using the delimiter. Null elements are omitted in the result. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_max

Returns the maximum value of input array. Supported Signatures
๐Ÿ”— Official Documentation

array_min

Returns the minimum value of input array. Supported Signatures
๐Ÿ”— Official Documentation

array_position

Returns the position of the first occurrence of the element in array x (or 0 if not found). Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_remove

Remove all elements that equal element from array x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

array_sort

Sorts and returns the array x. The elements of x must be orderable. Null elements will be placed at the end of the returned array. Supported Signatures
๐Ÿ”— Official Documentation

array_union

Returns an array of the elements in the union of x and y, without duplicates. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

cardinality

Returns the cardinality (size) of the array x. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

contains

Takes an array and an element. Returns true if the array contains the element, false if not. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

element_at

Returns element of array at given index. If index > 0, this function provides the same functionality as the SQL-standard subscript operator ([]), except that the function returns NULL when accessing an index larger than array length, whereas the subscript operator would fail in such a case. If index < 0, element_at accesses elements from the last to the first. Supported Signatures
๐Ÿ”— Official Documentation

flatten

Flattens an array(array(T)) to an array(T) by concatenating the contained arrays. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation

repeat

Repeat element for count times. Examples:
examples.sql
Supported Signatures
๐Ÿ”— Official Documentation