|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bitop(self,
operation,
dest,
*keys)
Perform a bitwise operation using ``operation`` between ``keys`` and
store the result in ``dest``.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval(self,
script,
numkeys,
*keys_and_args)
Execute the LUA ``script``, specifying the ``numkeys`` the script
will touch and the key names and argument values in
``keys_and_args``.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getrange(self,
key,
start,
end)
Returns the substring of the string value stored at ``key``,
determined by the offsets ``start`` and ``end`` (both are inclusive)
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
getset(self,
name,
value)
Set the value at key ``name`` to ``value`` if key doesn't exist
Return the value at key ``name`` atomically
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hset(self,
name,
key,
value)
Set ``key`` to ``value`` within hash ``name`` Returns 1 if HSET
created a new field, otherwise 0
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msetnx(self,
mapping)
Sets each key in the ``mapping`` dict to its corresponding value if
none of the keys are already set
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sort(self,
name,
start=None,
num=None,
by=None,
get=None,
desc=False,
alpha=False,
store=None)
Sort and return the list, set or sorted set at ``name``.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zrange(self,
name,
start,
end,
desc=False,
withscores=False,
score_cast_func=<type 'float'>)
Return a range of values from sorted set ``name`` between ``start``
and ``end`` sorted in ascending order.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
zrangebyscore(self,
name,
min,
max,
start=None,
num=None,
withscores=False,
score_cast_func=<type 'float'>)
Return a range of values from the sorted set ``name`` with scores
between ``min`` and ``max``.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
|
|
|
zrevrange(self,
name,
start,
num,
withscores=False,
score_cast_func=<type 'float'>)
Return a range of values from sorted set ``name`` between ``start``
and ``num`` sorted in descending order.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
zrevrangebyscore(self,
name,
max,
min,
start=None,
num=None,
withscores=False,
score_cast_func=<type 'float'>)
Return a range of values from the sorted set ``name`` with scores
between ``min`` and ``max`` in descending order.
(Inherited from redis.client.StrictRedis) |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|