CMS.QUERY

CMS.QUERY key item [item ...]
Available in:
Redis Open Source / Bloom 2.0.0
Time complexity:
O(n) where n is the number of items
ACL categories:
@cms, @read,
Compatibility:
Redis Software and Redis Cloud compatibility

Returns the count for one or more items in a sketch.

Required arguments

key

The name of the sketch.

item [item ...]

One or more items for which to return the count.

Examples

redis> CMS.QUERY test foo bar
1) (integer) 10
2) (integer) 42

Redis Software and Redis Cloud compatibility

Redis
Software
Redis
Cloud
Notes
✅ Supported
✅ Flexible & Annual
✅ Free & Fixed

Return information

One of the following:

RATE THIS PAGE
Back to top ↑