diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-12-09 09:49:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 09:49:35 +0200 |
commit | 12c17bfc436ea6784bbc8b2d327d981520858eb7 (patch) | |
tree | 40cb053e6a10bffe70f528132265225c969b4467 /docs/redis_commands.rst | |
parent | a58f4235e554cb50b312caf1a9076114c77d0529 (diff) | |
download | redis-py-12c17bfc436ea6784bbc8b2d327d981520858eb7.tar.gz |
Adding cluster, bloom, and graph docs (#1779)v4.1.0rc2
Diffstat (limited to 'docs/redis_commands.rst')
-rw-r--r-- | docs/redis_commands.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/redis_commands.rst b/docs/redis_commands.rst new file mode 100644 index 0000000..efb76e7 --- /dev/null +++ b/docs/redis_commands.rst @@ -0,0 +1,14 @@ +Redis 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 + :inherited-members: |