Redis
NAME
Redis - a Raku binding for Redis
SYNOPSIS
use Redis;
my $redis = Redis.new("127.0.0.1:6379");
$redis.set("key", "value");
say $redis.get("key");
say $redis.info;
$redis.quit;
DESCRIPTION
Redis provides a Raku interface to the Redis server.
METHODS
new
method new(Str $server?, Str :$encoding?, Bool :$decode_response?)
Returns the redis object.
exec_command
method exec_command(Str $command, *@args) returns Any
Executes arbitrary command.
AUTHORs
Yecheng Fu
Raku Community
COPYRIGHT AND LICENSE
Copyright 2012 - 2018 Yecheng Fu
Copyright 2024 Raku Community
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.