Skip to main content

HSCAN

Scan a hash for fields.
1 min read

Arguments#

keystrrequired#

The key of the hash.

cursorintrequired#

The cursor, use 0 in the beginning and then use the returned cursor for subsequent calls.

matchstr#

Glob-style pattern to filter by field names.

countint#

Number of fields to return per call.

Response#

Tuple[number, List[str]]required

The new cursor and the fields. If the new cursor is 0 the iteration is complete.

Was this page helpful?