ZIP_ALL
This page describes the ZIP_ALL function in Lenses SQL.
Zip two or more arrays into a single one, returning null
s when an array is not long enough.
Example: ZIP_ALL([1, 2], 'x', [3, 4, 5], 'y')
will be evaluated to [{ x: 1, y: 3 }, { x: 2, y: 4 }, { x: null, y: 5 }]
Available in:
Processors
SQL Studio
✓
✓
Sample code:
Output:
Last updated