No commit activity in last 3 years
No release in over 3 years
Norikra UDF to execute operations on Redis, like incr, incrby, set, get etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
>= 0
>= 0

Runtime

~> 1.0
 Project Readme

Norikra::Udf::Redis

Norikra UDF to execute operations on Redis.

Installation

Add this line to your application's Gemfile:

gem 'norikra-udf-redis'

And then execute:

$ bundle

Or install it yourself as:

$ gem install norikra-udf-redis

Usage

The following functions are provided.

Function Result
incr(key) Increments the number stored at key by one. Returns incremented value.
incrby(key, value) Increments the number stored at key by the specified value. Returns incremented value.
rset(key, value) Set key to hold the string value. Returns "OK" if properly set.
rget(key) Get the value of key. Returns the value
rdel(key) Removes the specified key. Returns the number of removed keys. (maybe 1)

Copyright

  • Copyright (c) 2015- OGIBAYASHI Hironori
  • License
    • GPL v2