Browse Source

lRange, rPush, lTrim

namespace
Alexander Demidov 11 years ago
parent
commit
3e30e59e0b
  1. 3
      redis/redis.php

3
redis/redis.php

@ -58,6 +58,9 @@
* @method bool sIsMember() sIsMember(string $key, string $value) Checks if value is a member of the set stored at the key key.
* @method bool sRem() sRem(string $key, string $member) Removes the specified member from the set value stored at key.
* @method bool sRemove() sRemove(string $key, string $member) Removes the specified member from the set value stored at key.
* @method array lRange() lRange(string $key, int $start, int $end) Returns the specified elements of the list stored at the specified key in the range [start, end]. start and stop are interpretated as indices: 0 the first element, 1 the second ... -1 the last element, -2 the penultimate
* @method int rPush() rPush(string $key, string $value) Adds the string value to the tail (right) of the list. Creates the list if the key didn't exist. If the key exists and is not a list, FALSE is returned.
* @method array lTrim() lTrim(string $key, int $start, int $stop) Trims an existing list so that it will contain only a specified range of elements.
*/
class Redis
{

Loading…
Cancel
Save