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/cluster-getkeysinslot.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 examples/redis-unstable/src/commands/cluster-getkeysinslot.json (limited to 'examples/redis-unstable/src/commands/cluster-getkeysinslot.json') diff --git a/examples/redis-unstable/src/commands/cluster-getkeysinslot.json b/examples/redis-unstable/src/commands/cluster-getkeysinslot.json new file mode 100644 index 0000000..039dfea --- /dev/null +++ b/examples/redis-unstable/src/commands/cluster-getkeysinslot.json @@ -0,0 +1,35 @@ +{ + "GETKEYSINSLOT": { + "summary": "Returns the key names in a hash slot.", + "complexity": "O(N) where N is the number of requested keys", + "group": "cluster", + "since": "3.0.0", + "arity": 4, + "container": "CLUSTER", + "function": "clusterCommand", + "command_flags": [ + "STALE" + ], + "command_tips": [ + "NONDETERMINISTIC_OUTPUT" + ], + "arguments": [ + { + "name": "slot", + "type": "integer" + }, + { + "name": "count", + "type": "integer" + } + ], + "reply_schema": { + "description": "an array with up to count elements", + "type": "array", + "items": { + "description": "key name", + "type": "string" + } + } + } +} -- cgit v1.2.3