Skip to main content

Arguments

number
The cursor, use 0 in the beginning and then use the returned cursor for subsequent calls.
Object
string
Glob-style pattern to filter by field names.
number
Number of fields to return per call.
string
Filter by type. For example string, hash, set, zset, list, stream.

Response

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