You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following `Redis commands <https://redis.io/commands>`_ are available within a `Redis Cluster <https://redis.io/topics/cluster-tutorial>`_. Generally they can be used as functions on your redis connection.
Copy file name to clipboardExpand all lines: docs/redis_commands.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
Redis Core Commands
2
-
####################
1
+
Redis Commands
2
+
###############
3
3
4
4
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:
5
5
@@ -11,4 +11,4 @@ Getting and settings data in redis::
Copy file name to clipboardExpand all lines: docs/redismodules.rst
+120-3Lines changed: 120 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,132 @@ Accessing redis module commands requires the installation of the supported `Redi
5
5
6
6
RedisTimeSeries Commands
7
7
************************
8
+
9
+
These are the commands for interacting with the `RedisTimeSeries module <https://redistimeseries.io>`_. Below is a brief example, as well as documentation on the commands themselves.
10
+
11
+
12
+
**Create a timeseries object with 5 second retention**
These are the commands for interacting with the `RedisJSON module <https://redisjson.io>`_. Below is a brief example, as well as documentation on the commands themselves.
29
+
30
+
**Create a json object**
31
+
32
+
.. code-block:: python
33
+
34
+
import redis
35
+
r = redis.Redis()
36
+
r.json().set("mykey", ".", {"hello": "world", "i am": ["a", "json", "object!"]}
37
+
38
+
13
39
.. automodule:: redis.commands.json.commands
14
-
:members: JSONCommands
40
+
:members: JSONCommands
41
+
42
+
-----
15
43
16
44
RediSearch Commands
17
45
*******************
46
+
47
+
These are the commands for interacting with the `RediSearch module <https://redisjson.io>`_. Below is a brief example, as well as documentation on the commands themselves.
48
+
49
+
**Create a search index, and display its information**
These are the commands for interacting with the `RedisGraph module <https://redisjson.io>`_. Below is a brief example, as well as documentation on the commands themselves.
These are the commands for interacting with the `RedisBloom module <https://redisjson.io>`_. Below is a brief example, as well as documentation on the commands themselves.
0 commit comments