Cartesian Product

data · N082 · starter-package 7.0.1

Combine every left item with every right item as an ordered pair. The left list is the outer loop. An empty input gives an empty list. Maximum 10,000 pairs.

Example

Connected values

{"left":["A","B"],"right":[1,2]}

Result

{"result":[["A",1],["A",2],["B",1],["B",2]]}

Connector data types

DirectionConnectorTypeRequired
Inputleft — Leftlistyes
Inputright — Rightlistyes
Outputresult — Resultliston success

Errors and recovery

Connect a list to both Left and Right. If their lengths multiplied exceed 10,000, divide the larger list into batches first.