企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 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 */ ``` ##