- Documentation
- Reference manual
- Packages
- Redis -- a SWI-Prolog client for redis
- library(redis): Redis client
- redis_server/3
- redis_connect/1
- redis_connect/3
- redis_disconnect/1
- redis_disconnect/2
- redis/2
- redis/3
- redis/1
- redis_write/2
- redis_read/2
- redis_get_list/3
- redis_get_list/4
- redis_set_list/3
- redis_get_hash/3
- redis_set_hash/3
- redis_array_dict/3
- redis_scan/3
- redis_sscan/4
- redis_hscan/4
- redis_zscan/4
- redis_current_command/2
- redis_current_command/3
- redis_property/2
- redis_subscribe/4
- redis_subscribe/2
- redis_unsubscribe/2
- redis_current_subscription/2
- library(redis): Redis client
- Redis -- a SWI-Prolog client for redis
SCAN
, SSCAN
, HSCAN
and ZSCAN‘commands into a lazy list. For redis_scan/3
and redis_sscan/4 the result
is a list of strings. For redis_hscan/4
and redis_zscan/4, the result
is a list of pairs. Options processed:
- match(Pattern)
- Adds the
MATCH
subcommand, only returning matches for Pattern. - count(Count)
- Adds the
COUNT
subcommand, giving a hint to the size of the chunks fetched. - type(Type)
- Adds the
TYPE
subcommand, only returning answers of the indicated type.
- See also
- lazy_list/2.