メインコンテンツまでスキップ

bitmap_remove

bitmap_remove

説明

lhs という Bitmap 値から input を取り除き、結果セットを返します。

構文

bitmap_remove(BITMAP lhs, BIGINT input)

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 |
+------+

キーワード

BITMAP_REMOVE, BITMAP