bf.add
Adds a single item to a bloom filter. If the specified bloom filter does not exist, a bloom filter is created with the provided name with default properties.
To add multiple items to a bloom filter, you can use the BF.MADD or BF.INSERT commands.
To create a bloom filter with non-default properties, use the BF.INSERT or BF.RESERVE command.
Examples
127.0.0.1:6379> BF.ADD key val
(integer) 1
127.0.0.1:6379> BF.ADD key val
(integer) 0
这篇文档对你有帮助吗?
谢谢你的反馈!