For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

ARRAY_CONSTRUCT() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns an array constructed from zero, one, or more inputs

Syntax​

ARRAY_CONSTRUCT([expression1 [, expression2 ...]])

Parameters​

ParameterDescriptionData TypeRequired
elementsVariadic array elements.AnyYes

Notes​

  • Each expression can be of any data type
  • The resulting array will contain all elements in the order provided
  • Returns an empty array if no input is provided

Example​

SELECT
ARRAY_CONSTRUCT('a', 'b', 'c')
FROM
rippling.employee.Employee
LIMIT
5;