CMS.QUERY key item [item ...]
Available in: Redis Stack
Time complexity: O(n) where n is the number of items
Returns the count for one or more items in a sketch.
Parameters:
- key: The name of the sketch.
- item: One or more items for which to return the count.
Return
Count of one or more items
[] with a min-count of each of the items in the sketch.
Examples
redis> CMS.QUERY test foo bar
1) (integer) 10
2) (integer) 42