hscan.3valkey - Man Page

Iterates over fields and values of a hash.

Synopsis

HSCAN key cursor [MATCH pattern] [COUNT count] [NOVALUES]

See SCAN for HSCAN documentation.

Reply

valkey-protocol(7) Array reply: a two-element array.

Complexity

O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.

Acl Categories

@hash @read @slow

History

See Also

hdel(3valkey), hexists(3valkey), hget(3valkey), hgetall(3valkey), hincrby(3valkey), hincrbyfloat(3valkey), hkeys(3valkey), hlen(3valkey), hmget(3valkey), hrandfield(3valkey), hset(3valkey), hsetnx(3valkey), hstrlen(3valkey), hvals(3valkey)

Info

2025-01-08 8.0.2 Valkey Command Manual