bitmap_remove
Removes input
from the Bitmap value lhs
and returns a result set.
Syntaxβ
bitmap_remove(BITMAP lhs, BIGINT input)
Examplesβ
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 |
+------+
keywordβ
BITMAP_REMOVE, BITMAP