Skip to content

raku-community-modules/Redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Actions Status

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, 2025 Raku Community

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.