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_INTERSECTION() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns an array that contains the matching elements in the two input arrays

Aliases: ARRAY_INTERSECT — equivalent spellings; same function and parameters.

Syntax​

ARRAY_INTERSECTION(array1 , array2)

Parameters​

ParameterDescriptionData TypeRequired
array1The array1 argumentArrayYes
array2The array2 argumentArrayYes

Example​

SELECT
ARRAY_INTERSECT(tags, other_tags)
FROM
rippling.employee.Employee
LIMIT
5;