array

array_fill

Builds an array of the requested shape containing repeated copies of a value.

Formal Syntax & Structure

sql syntaxsql
array_fill(value, dimensions [, lower_bounds])

Working Example

Example Snippetsql
SELECT array_fill(7,ARRAY[3],ARRAY[0]);
SQL Reference