代潇瑞博客

decrBy 命令/方法/函数

减去指定的值。


Return value

INT the new value


Examples

$redis->set('key1', 50);

$redis->decrBy('key1', 10); /* result:40 */

【相关命令】

触屏版 | 电脑版

Copyright © 2013 代潇瑞博客手机版

QQ: 446673330

粤ICP备13071969号-1