多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## hIncrBy ##### Description Increments the value of a member from a hash by a given amount. 根据HASH表的KEY,为KEY对应的VALUE自增参数VALUE。 ##### Parameters *key* *member* *value*: (integer) value that will be added to the member's value ##### Return value *LONG* the new value ##### Examples ``` <pre class="calibre16">$redis->delete('h'); $redis->hIncrBy('h', 'x', 2); /* returns 2: h[x] = 2 now. */ $redis->hIncrBy('h', 'x', 1); /* h[x] ← 2 + 1. Returns 3 */ ``` ##