Lists & arrays
Scalar
array_transform()
Returns a list that is the result of applying the lambda function to each element of the input list. See the Lambda Functions section for more details
Alias of list_transform()
Arguments & returns
array_transform(list, lambda)
Scalar
| Overload link | list | lambda |
Returns |
|---|---|---|---|
| #01 | ANY[] | LAMBDA |
ANY[] |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
list_transform([1, 2, 3], x -> x + 1);