blob: edfd7fe939b48a28c234b74c533947aa1d43ce34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Redis Core Commands
####################
The following functions can be used to replicate their equivalent `Redis command <https://redis.io/commands>`_. Generally they can be used as functions on your redis connection. For the simplest example, see below:
Getting and settings data in redis::
import redis
r = redis.Redis(decode_responses=True)
r.set('mykey', 'thevalueofmykey')
r.get('mykey')
.. autoclass:: redis.commands.core.CoreCommands
:members:
|