summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/client-caching.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/client-caching.json')
-rw-r--r--examples/redis-unstable/src/commands/client-caching.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/client-caching.json b/examples/redis-unstable/src/commands/client-caching.json
new file mode 100644
index 0000000..2a4ae89
--- /dev/null
+++ b/examples/redis-unstable/src/commands/client-caching.json
@@ -0,0 +1,41 @@
1{
2 "CACHING": {
3 "summary": "Instructs the server whether to track the keys in the next request.",
4 "complexity": "O(1)",
5 "group": "connection",
6 "since": "6.0.0",
7 "arity": 3,
8 "container": "CLIENT",
9 "function": "clientCommand",
10 "command_flags": [
11 "NOSCRIPT",
12 "LOADING",
13 "STALE",
14 "SENTINEL"
15 ],
16 "acl_categories": [
17 "CONNECTION"
18 ],
19 "reply_schema": {
20 "const": "OK"
21 },
22 "arguments": [
23 {
24 "name": "mode",
25 "type": "oneof",
26 "arguments": [
27 {
28 "name": "yes",
29 "type": "pure-token",
30 "token": "YES"
31 },
32 {
33 "name": "no",
34 "type": "pure-token",
35 "token": "NO"
36 }
37 ]
38 }
39 ]
40 }
41}