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

# bitmap_contains

> Calculates whether the input value is in the bitmap column, and returns a Boolean value.

Calculates whether the input value is in the bitmap column, and returns a Boolean value.

## Syntax

```Haskell theme={null}
B00LEAN BITMAP_CONTAINS(BITMAP bitmap, BIGINT input)
```

## Examples

```Plain Text theme={null}
MySQL > select bitmap_contains(to_bitmap(1),2) cnt;
+------+
| cnt  |
+------+
|    0 |
+------+

MySQL > select bitmap_contains(to_bitmap(1),1) cnt;
+------+
| cnt  |
+------+
|    1 |
+------+
```

## keyword

BITMAP\_CONTAINS,BITMAP


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