diff options
author | Nicolas Favre-Felix <n.favre-felix@owlient.eu> | 2009-11-30 18:18:20 +0300 |
---|---|---|
committer | Nicolas Favre-Felix <n.favre-felix@owlient.eu> | 2009-11-30 18:18:20 +0300 |
commit | afa81c1fed7c2813e3c9f35cd82578f35bfd8653 (patch) | |
tree | 3ecdd49c6df524a64d8b9ab1c3c8b4f01369edd9 /README.markdown | |
parent | 76f8c17ba83e0e242b4bd03402e7f2e2a9231694 (diff) |
Added fancy return values for type().
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/README.markdown b/README.markdown index d5397ef7..8b3545a4 100644 --- a/README.markdown +++ b/README.markdown @@ -951,10 +951,10 @@ Returns the type of data pointed by a given key. ##### *Return value* Depending on the type of the data pointed by the key, this method will return the following value: -* string: 1 -* set: 2 -* list: 3 -* other: 0 +* string: Redis::REDIS_STRING +* set: Redis::REDIS_SET +* list: Redis::REDIS_LIST +* other: Redis::REDIS_NOT_FOUND ##### *Example* <pre> @@ -1067,7 +1067,7 @@ string(6) "value1" Pops a value from the tail of a list, and pushes it to the front of another list. Also return this value. ##### *Parameters* -*Key*: srckey +*Key*: srckey *Key*: dstkey ##### *Return value* |