NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## 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 */ ``` ##