Module Hub Beta

CMS.QUERY

key item [item ...]

Returns the estimated count for `item`.

Return Value

Array reply: list of counts for the items.

Examples

redis> CMS.INCRBY counter foo 1 bar 10 baz 42
OK
redis> CMS.QUERY counter foo bar baz qaz
1) 1
2) 10
3) 42
4) (nil)
OK

© 2017 Redis Labs, Inc. All rights reserved.