summaryrefslogtreecommitdiff
path: root/docs/redis_commands.rst
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-12-09 09:49:35 +0200
committerGitHub <noreply@github.com>2021-12-09 09:49:35 +0200
commit12c17bfc436ea6784bbc8b2d327d981520858eb7 (patch)
tree40cb053e6a10bffe70f528132265225c969b4467 /docs/redis_commands.rst
parenta58f4235e554cb50b312caf1a9076114c77d0529 (diff)
downloadredis-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.rst14
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: