[det]redis_get_hash(+Redis,
+Key, -Data:dict)
[det]redis_set_hash(+Redis,
+Key, +Data:dict)Put/get a Redis hash as a Prolog dict. Putting a dict first
deletes
Key. Note that in many cases applications will manage Redis
hashes by key. redis_get_hash/3
is notably a user friendly alternative to the Redis HGETALL
command. If the Redis hash is not used by other (non-Prolog)
applications one may also consider using the
Term as prolog
syntax to store the Prolog dict as-is.