summaryrefslogtreecommitdiff
path: root/docs/redis_core_commands.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/redis_core_commands.rst')
-rw-r--r--docs/redis_core_commands.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/redis_core_commands.rst b/docs/redis_core_commands.rst
new file mode 100644
index 0000000..edfd7fe
--- /dev/null
+++ b/docs/redis_core_commands.rst
@@ -0,0 +1,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: \ No newline at end of file