object
redis
ï
Redis client. Inspired by Sean Charles GNU Prolog Redis client.
logtalk_load(redis(loader))
static, context_switching_calls
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_quotes
flag.
Public predicatesï
connect/1
ï
Connect to a Redis server running on localhost using the default 6379 port.
static
connect(Connection)
connect(--ground)
- one
connect/3
ï
Connect to a Redis server running on the given host and port.
static
connect(Host,Port,Connection)
connect(+atom,+integer,--ground)
- one
disconnect/1
ï
Disconnect from a Redis server.
static
disconnect(Connection)
disconnect(++ground)
- one
send/3
ï
Sends a request to the a Redis server and returns its reply.
static
send(Connection,Request,Reply)
send(++ground,++callable,--callable)
- one
console/1
ï
Sends a request to a Redis server running on localhost at the default 6379 port and prints the reply.
static
console(Request)
console(++callable)
- one
Protected predicatesï
(no local declarations; see entity ancestors if any)
Private predicatesï
(no local declarations; see entity ancestors if any)
Operatorsï
(none)