object
redis¶
Redis client. Inspired by Sean Charles GNU Prolog Redis client.
Author: Paulo Moura
Version: 0.3
Date: 2017/6/29
Compilation flags:
static, context_switching_callsRemarks:
Command representation: Use the Redis command name as the functor of a compound term where the arguments are the command arguments.
Valid arguments: Atoms, integers, and floats. Always use atoms instead of double-quoted “strings”. This helps portability by not depending on the value of the
double_quotesflag.
Public predicates¶
connect/1¶
Connect to a Redis server running on localhost using the default 6379 port.
Compilation flags:
staticTemplate:
connect(Connection)Mode and number of proofs:
connect(--ground) - oneconnect/3¶
Connect to a Redis server running on the given host and port.
Compilation flags:
staticTemplate:
connect(Host,Port,Connection)Mode and number of proofs:
connect(+atom,+integer,--ground) - onedisconnect/1¶
Disconnect from a Redis server.
Compilation flags:
staticTemplate:
disconnect(Connection)Mode and number of proofs:
disconnect(++ground) - oneProtected predicates¶
(see entity ancestors)
Private predicates¶
(see entity ancestors)