hscan name key_start key_end limit

List key-value pairs of a hashmap with keys in range (key_start, key_end].

("", ""] means no range limit.

Refer to scan command for more information about how it work.

Parameters

Return Value

Key-Value list.

The key-value list is return as: k1 v1 k2 v2 ...

Example

ssdb 127.0.0.1:8888> hgetall h
key             value
-------------------------
  a               : a
  b               : b
  c               : c
  d               : d
  e               : e
  f               : f
6 result(s) (0.000 sec)
ssdb 127.0.0.1:8888> hscan h a c 10
key             value
-------------------------
  b               : b
  c               : c
2 result(s) (0.000 sec)
ssdb 127.0.0.1:8888>