summaryrefslogtreecommitdiffstats
path: root/src/commands/client-caching.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/client-caching.json')
-rw-r--r--src/commands/client-caching.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/commands/client-caching.json b/src/commands/client-caching.json
new file mode 100644
index 0000000..2a4ae89
--- /dev/null
+++ b/src/commands/client-caching.json
@@ -0,0 +1,41 @@
+{
+ "CACHING": {
+ "summary": "Instructs the server whether to track the keys in the next request.",
+ "complexity": "O(1)",
+ "group": "connection",
+ "since": "6.0.0",
+ "arity": 3,
+ "container": "CLIENT",
+ "function": "clientCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ },
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "oneof",
+ "arguments": [
+ {
+ "name": "yes",
+ "type": "pure-token",
+ "token": "YES"
+ },
+ {
+ "name": "no",
+ "type": "pure-token",
+ "token": "NO"
+ }
+ ]
+ }
+ ]
+ }
+}