> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# array_remove

> 从数组中移除指定元素。

从数组中移除指定元素。

## 语法

```Haskell theme={null}
array_remove(any_array, any_element)
```

## 参数说明

* any\_array: 目标数组
* any\_element: 需要被移除的元素

## 返回值说明

返回移除元素后的数组。

## 示例

```plain text theme={null}
mysql> select array_remove([1,2,3,null,3], 3);
+---------------------------------+
| array_remove([1,2,3,NULL,3], 3) |
+---------------------------------+
| [1,2,null]                      |
+---------------------------------+
1 row in set (0.01 sec)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.