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

# bitmap_remove

> 从 Bitmap 中删除指定的数值。

从 Bitmap 中删除指定的数值。

## 语法

```Haskell theme={null}
bitmap_remove(lhs, input)
```

## 参数说明

`lhs`: 支持的数据类型为 BITMAP。

`input`: 支持的数据类型为 BIGINT。

## 返回值说明

返回值的数据类型为 BITMAP。

## 示例

```plain text theme={null}
mysql> select bitmap_to_string(bitmap_remove(bitmap_from_string('1, 3'), 3)) cnt;
+------+
|cnt   |
+------+
|1     |
+------+

mysql> select bitmap_to_string(bitmap_remove(bitmap_from_string('1,3,5'), 6)) cnt;
+------+
|cnt   |
+------+
|1,3,5 |
+------+
```


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