array

trim_array

Removes n elements from the end of the first dimension.

Formal Syntax & Structure

sql syntaxsql
trim_array(array, n)

Working Example

Example Snippetsql
SELECT trim_array(ARRAY[4,8,12],2);
SQL Reference