File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,12 +254,12 @@ $redis->exists('key'); /* TRUE */
254254$redis->exists('NonExistingKey'); /* FALSE */
255255</pre >
256256
257- ## incr, incrby
257+ ## incr, incrBy
258258##### Description
259259Increment the number stored at key by one. If the second argument is filled, it will be used as the integer value of the increment.
260260##### Parameters
261261* key*
262- * value* : value that will be added to key (only for incrby )
262+ * value* : value that will be added to key (only for incrBy )
263263##### Return value
264264* INT* the new value
265265##### Examples
@@ -273,12 +273,12 @@ $redis->incr('key1'); /* 4 */
273273$redis->incrBy('key1', 10); /* 14 */
274274</pre >
275275
276- ## decr, decrby
276+ ## decr, decrBy
277277##### Description
278278Decrement the number stored at key by one. If the second argument is filled, it will be used as the integer value of the decrement.
279279##### Parameters
280280* key*
281- * value* : value that will be substracted to key (only for decrby )
281+ * value* : value that will be substracted to key (only for decrBy )
282282##### Return value
283283* INT* the new value
284284##### Examples
Original file line number Diff line number Diff line change 1+ phpredis (2.0.8-1) unstable; urgency=low
2+
3+ * Merged with upstream but there seems to be no new version.
4+ * incrBy/decrBy added
5+
6+ -- Simon Effenberg <se@plista.com> Wed, 27 Oct 2010 10:36:35 +0200
7+
18phpredis (2.0.8) unstable; urgency=low
29
310 * Merged with upstream
You can’t perform that action at this time.
0 commit comments