aboutsummaryrefslogtreecommitdiff
path: root/pkg/commands/command-registry.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-11 13:22:16 +0200
committeralex <[email protected]>2026-07-11 13:22:16 +0200
commit90778a710319efc44754d4b1a4e7e18ddad6661a (patch)
treedd50aa27a4da706aaef33504193ad62b21049489 /pkg/commands/command-registry.go
parent56bf3fc1b36e7301727e9d8d94a6239a88c4e208 (diff)
downloadredis-clone-90778a710319efc44754d4b1a4e7e18ddad6661a.tar.xz
redis-clone-90778a710319efc44754d4b1a4e7e18ddad6661a.zip
refactored LRANGE
Diffstat (limited to 'pkg/commands/command-registry.go')
-rw-r--r--pkg/commands/command-registry.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/commands/command-registry.go b/pkg/commands/command-registry.go
index 6e34ff7..baf7133 100644
--- a/pkg/commands/command-registry.go
+++ b/pkg/commands/command-registry.go
@@ -95,4 +95,9 @@ var Registry = map[string]CommandDef{
ExtractKeys: SingleKey,
Execute: Lpop,
},
+ "LRANGE": {
+ MinArgs: 4,
+ ExtractKeys: SingleKey,
+ Execute: Lrange,
+ },
} \ No newline at end of file