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,63 @@ A button that inserts Redis code into the Code Editor. The syntax is almost the
123
126
124
127
```
125
128
````
129
+
130
+
###### Button parameters
131
+
132
+
You can customize the run parameters to configure the raw mode, pipeline parameter and group mode. If specified, they will override
133
+
the configuration set in RedisInsight. If not specified - the behaviour will be defined by parameters set in RedisInsight.
134
+
To specify the parameters, insert them after the `redis-auto:` and add the parameters in square brackets separated with a semicolon (`;`) in
| results | * _single_<br/>*_group_<br/>*_silent_| If enabled, then pipeline mode is ignored | * _single_ - Disable the group mode to display the command results in a batch or as separate ones.<br/>*_group_ - Enable the group mode <br/>*_silent_: <br/>  1. Enable the group mode <br/>  2. Auto collapse the result <br/>  3. Show only error commands in the results|
148
+
| mode | * _ascii_<br/>*_raw_|| Enable/disable the raw mode to display command results. |
149
+
| pipeline | any integer number || Configure the number of commands in the pipeline. 0 or 1 pipelines every command. |
150
+
| auto | * _true_<br/>*_false_|| Configure the auto execute commands after click on the button |
151
+
152
+
153
+
_Notes:_
154
+
155
+
* Ensure that there are no spaces
156
+
* All the parameters with mistakes will be ignored
A button that automatically executes the Redis commands (without inserting it into the Editor). Such buttons will be displayed with the "Play" icon inside.
174
+
The code syntax is the same as for the manually executed buttons, just insert parameter `[auto=true]` with any other parameters before the button.
175
+
176
+
````
177
+
```redis:[auto=true;mode=raw] Create
178
+
// Let's add three documents as Hashes.
179
+
// Each document represents a building permit.
180
+
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"
HSET permit:3 "description" "New house build" "construction_value" 260000 "building_type" "house" "address_city" "Lagos" "work_type" "construction;design" "permit_timestamp" "1612947600" "address_street" "R. Antonio Gedeao" "location" "37.114864, -8.668521"
183
+
```
184
+
````
185
+
126
186
## Autoupdate
127
187
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