Skip to main content

ARRAY_APPEND

在数组前端添加一个元素。

语法

ARRAY_APPEND( <array>, <element>)

示例

SELECT ARRAY_APPEND([3, 4], 5);

┌─────────────────────────┐
│ array_append([3, 4], 5)
├─────────────────────────┤
[3,4,5]
└─────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today