Sha256: 64f41eb80f1c6ed46e569606eecab4ffa6882d6ce4d6486a95b94a1a707af725
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
# Norikra::Udf::Redis [Norikra](http://norikra.github.io/) UDF to execute operations on Redis. ## Installation Add this line to your application's Gemfile: ```ruby 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
norikra-udf-redis-0.0.1-java | README.md |