array

array_prepend

Adds one element before the first element of a one-dimensional array.

Formal Syntax & Structure

sql syntaxsql
array_prepend(element, array)

Working Example

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