Module Hub Beta

SBF.REM

key elem id [elem id ...]

Removes elements by id from the filter.

ids must be only ‘n’, ‘/n’ or ‘+0’.

Return Value

Integer¬†reply: the filter’s current maximum id.

Examples

redis> SBF.ADD bloom foo +0
(integer) 1
redis> SBF.ADD bloom bar +0
(integer) 2
redis> SBF.CHECK bloom foo
(integer) 1
redis> SBF.REM bloom foo
(integer) 1
redis> SBF.CHECK bloom foo
(integer) 0
redis> SBF.CHECK bloom bar
(integer) 1

© 2017 Redis Labs, Inc. All rights reserved.