From 790ac7f6cc1bf23b1c2e4259ecf038b283c3ff7f Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Fri, 19 Feb 2021 22:46:07 +0200 Subject: [PATCH] add zpopmax/min commands --- src/redis.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redis.lua b/src/redis.lua index 98b4710..3abbc70 100644 --- a/src/redis.lua +++ b/src/redis.lua @@ -1081,6 +1081,10 @@ redis.commands = { request = scan_request, response = zscan_response, }), + zpopmax = command('ZPOPMAX'), -- >= 5.0 + zpopmin = command('ZPOPMIN'), -- >= 5.0 + bzpopmax = command('BZPOPMAX'), -- >= 5.0 + bzpopmix = command('BZPOPMIN'), -- >= 5.0 -- commands operating on hashes hset = command('HSET', { -- >= 2.0