Norikra UDF to execute operations on Redis.
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
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 (c) 2015- OGIBAYASHI Hironori
- License
- GPL v2