We have a requirement that we need to get **only the count** of the [XRANGE key start end] result as the return value, not all filtered data. I think there is no way to do it with a redis command.
We have a requirement that we need to get only the count of the [XRANGE key start end] result as the return value, not all filtered data.
I think there is no way to do it with a redis command.