summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/client-no-touch.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/client-no-touch.json')
-rw-r--r--examples/redis-unstable/src/commands/client-no-touch.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/client-no-touch.json b/examples/redis-unstable/src/commands/client-no-touch.json
new file mode 100644
index 0000000..4cf7b72
--- /dev/null
+++ b/examples/redis-unstable/src/commands/client-no-touch.json
@@ -0,0 +1,40 @@
1{
2 "NO-TOUCH": {
3 "summary": "Controls whether commands sent by the client affect the LRU/LFU of accessed keys.",
4 "complexity": "O(1)",
5 "group": "connection",
6 "since": "7.2.0",
7 "arity": 3,
8 "container": "CLIENT",
9 "function": "clientCommand",
10 "command_flags": [
11 "NOSCRIPT",
12 "LOADING",
13 "STALE"
14 ],
15 "acl_categories": [
16 "CONNECTION"
17 ],
18 "reply_schema": {
19 "const": "OK"
20 },
21 "arguments": [
22 {
23 "name": "enabled",
24 "type": "oneof",
25 "arguments": [
26 {
27 "name": "on",
28 "type": "pure-token",
29 "token": "ON"
30 },
31 {
32 "name": "off",
33 "type": "pure-token",
34 "token": "OFF"
35 }
36 ]
37 }
38 ]
39 }
40}