From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- .../src/commands/client-caching.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 examples/redis-unstable/src/commands/client-caching.json (limited to 'examples/redis-unstable/src/commands/client-caching.json') 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 @@ +{ + "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" + } + ] + } + ] + } +} -- cgit v1.2.3