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
A button that inserts Redis code into the Code Editor. The syntax is almost the same as for [Fenced Code Block](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks), the only difference is that you must specify `redis` as language and the label next to it (`Create` in the example below).
112
+
113
+
###### Manual-execute button
114
+
A button that inserts Redis commands in the Editor. The syntax is almost the same as for the [Fenced Code Block](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks),
115
+
the only difference is that you must specify `redis` as language and the label next to it (`Create` in the example below).
113
116
````
114
117
```redis Create
115
118
// Let's add three documents as Hashes.
@@ -123,6 +126,66 @@ A button that inserts Redis code into the Code Editor. The syntax is almost the
A button that automatically executes the Redis commands (without inserting it into the Editor). Such buttons will be displayed with the "Play" icon inside.
134
+
The code syntax is the same as for the manually executed buttons, just indicate the `redis-auto` (instead of `redis`) before the button.
135
+
136
+
````
137
+
```redis-auto Create
138
+
// Let's add three documents as Hashes.
139
+
// Each document represents a building permit.
140
+
141
+
HSET permit:1 "description" "To reconstruct a single detached house with a front covered veranda." "construction_value" 42000 "building_type" "single detached house" "address_city" "Lisbon" "work_type" "demolition,reconstruction" "permit_timestamp" "1602156878" "address_street" "R. Da Palma" "location" "38.717746, -9.135839"
| results | * _single_<br/>*_group_| If enabled, then pipeline mode is ignored | Enable/disable the group mode to display the command results in a batch or as separate ones. |
168
+
| mode | * _ascii_<br/>*_raw_|| Enable/disable the raw mode to display command results. |
169
+
| pipeline | any integer number || Configure the number of commands in the pipeline. 0 or 1 pipelines every command. |
170
+
171
+
172
+
_Notes:_
173
+
174
+
* Ensure that there are no spaces
175
+
* All the parameters with mistakes will be ignored
176
+
177
+
_Examples:_
178
+
179
+
```
180
+
redis-auto:[results=single]
181
+
redis-auto:[mode=raw]
182
+
redis-auto:[pipeline=1]
183
+
redis-auto:[results=single;mode=raw]
184
+
redis-auto:[results=single;pipeline=4]
185
+
redis-auto:[results=group;mode=ascii]
186
+
redis-auto:[pipeline=8;mode=raw;results=single;]
187
+
```
188
+
126
189
## Autoupdate
127
190
Our application supports the ability to quickly update the static files of the Enablement area so that we can provide users with up-to-date information.
0 commit comments