Commit Graph

258 Commits

Author SHA1 Message Date
monkey92t 0a57079ece feat: v8 remove redis7 command
Signed-off-by: monkey92t <golang@88.com>
2023-01-05 19:14:20 +08:00
Alex Kahn 730afbcffb
feat: add support for COPY command (#2016) 2022-02-28 01:07:49 +08:00
Vladimir Mihailenco a034b08191
Merge pull request #1991 from jiangtao244/master
feat: export cmder.SetFirstKeyPos to support build module commands
2022-02-02 09:32:04 +02:00
Daniel Richter 17e3b43879
fix: add missing Expire methods to Cmdable
This is a followup to https://github.com/go-redis/redis/pull/1928
2022-01-22 10:51:10 -08:00
gzjiangtao2014 f4bf09cfc8 chore: export cmder.SetFirstKeyPos to support build module commands 2022-01-11 14:47:55 +08:00
Vladimir Mihailenco 333fee1a8f fix: set timeout for WAIT command. Fixes #1963 2021-12-26 16:42:17 +02:00
Bastien Penavayre e19bbb26e2 feat: Add redis v7's NX, XX, GT, LT expire variants 2021-11-21 16:02:40 +02:00
ffenix113 f6974ebb5c fix: update some argument counts in pre-allocs
In some cases number of pre-allocated places in
argument array is missing 1 or 2 elements,
which results in re-allocation of twice as large array
2021-11-05 19:13:47 +01:00
Vladimir Mihailenco 3f99e7b13b chore: update dependencies 2021-09-23 16:49:39 +03:00
Алексей Романовский f36093a0be Add support for BLMove command 2021-09-20 16:37:40 -04:00
Eugene Ponizovsky 2ca559d5e5 Added missing method XInfoStreamFull to Cmdable interface 2021-08-05 17:48:09 +03:00
monkey92t 7dad93efa2
add cmd: geosearch, geosearchstore (#1836)
* add cmd: geosearch, geosearchstore

Signed-off-by: monkey92t <golang@88.com>

* GeoSearchQuery and GeoSearchLocationQuery changed to pointer passing

Signed-off-by: monkey92t <golang@88.com>
2021-07-28 14:38:14 +08:00
monkey92t 3caf52bceb
Add the count option to the rpop command(fix #1813) (#1815) 2021-07-11 18:27:48 +08:00
monkey dd4b7eb3b4 add release CHANGELOG
Signed-off-by: monkey <golang@88.com>
2021-06-30 22:44:16 +08:00
monkey92t b64f087691 Adjust KeepTTL annotation.
Signed-off-by: monkey92t <golang@88.com>
2021-06-25 14:51:18 +08:00
monkey92t 960e4d6cf0
Explain the use restrictions of KeepTTL. (#1799)
Signed-off-by: monkey92t <golang@88.com>
2021-06-25 11:58:21 +08:00
monkey92t f0b2f90143
Upgrade the <sorted set> series of commands (#1792)
* Upgrade the <sorted set> series of commands

Signed-off-by: monkey92t <golang@88.com>

* Cancel the Deprecated mark of ZAddNX and ZAddXX

Signed-off-by: monkey92t <golang@88.com>
2021-06-23 18:47:10 +08:00
monkey92t 43ec1464d9
xgroup/xadd/xtrim supports new options (#1787)
* support cmd option

XGROUP CREATECONSUMER
XTRIM MINID LIMIT
XADD NOMKSTREAM MINID LIMIT

Signed-off-by: monkey <golang@88.com>

* add XAddArgs.Approx doc

Signed-off-by: monkey92t <golang@88.com>
2021-06-15 16:48:35 +08:00
ericmillin 237bad5284
Add XAutoClaim command (#1780) 2021-06-04 23:04:36 +08:00
MrChenCode 036605d7c6
add ZDiffStore command (#1775) 2021-06-01 10:02:09 +08:00
MrChenCode 74246e0ccf
add ZInter command (#1768) 2021-05-29 21:11:47 +08:00
monkey92t f521e51383
the "keys have no pre-determined position" command specifies the position of the key (#1769) 2021-05-28 23:15:26 +08:00
monkey92t ad4d0a506a
fix #1766 2021-05-27 11:24:24 +08:00
chenguijun 7a7b75e081 add command zDiff
Signed-off-by: chenguijun <18811388234@163.com>
2021-05-23 16:55:03 +08:00
monkey 3871963e2d fix #1755
Signed-off-by: monkey <golang@88.com>
2021-05-18 15:41:20 +08:00
monkey92t 8f0fbd2fe8
fix #1754 (#1756) 2021-05-16 00:37:22 +08:00
Parvez 31495ac570
Added missing idle args in XPendingExtArgs (#1750)
Added missing idle args in XPendingExtArgs
2021-05-13 23:15:37 +08:00
nigel_li 610581533e Add command SMISMEMBER 2021-04-28 13:56:44 +08:00
Chris Mague fc72d5f0d0 add LMove with tests 2021-04-13 17:28:55 -07:00
leizihui a8a196f328 hmset support map[string]string 2021-04-09 11:27:11 +08:00
wangtuanjie 5b4bc5cab5 Cmdable interface: add XInfoConsumers method 2021-04-06 22:13:34 +08:00
Vladimir Mihailenco 1e30221353 Rename GetEX to GetEx to better distinguish from XX and NX suffixes 2021-03-27 17:22:10 +02:00
monkey e3ce4ea661 remove PERSIST, add unit tests to ensure the stability of ZRandMember and HRandField.
Signed-off-by: monkey <golang@88.com>
2021-03-27 17:49:55 +08:00
monkey e7dbdda439 add HRANDFIELD and ZRANDMEMBER commands
Signed-off-by: monkey <golang@88.com>
2021-03-27 10:37:44 +08:00
monkey cb1be727e3 add new cmd: getEX getDel
Signed-off-by: monkey <golang@88.com>
2021-03-26 17:13:22 +08:00
Vladimir Mihailenco 02a9c81ef1 Fix golangci-lint check 2021-03-23 11:02:29 +02:00
Benjamin Prieur abb58ff31f Add ZMScore cmd 2021-03-08 10:09:34 +01:00
lhchavez 4ffcd9b7f6 Make SetArgs available to Pipeliner
SetArgs is amazing! It would be even more amazing to be able to use it
within a non-transactional Pipeline.
2021-03-03 19:24:29 -08:00
Vladimir Mihailenco 61680f373c Tweak API 2021-02-17 15:12:10 +02:00
You Den 7b7f9d6e0e
Add SetArgs command (#1662)
* Add SetWithArgs command

* Add tests for SetWithArgs command

* Replace Makefile stable version by 6.2-rc3 version

* Increase threshold because there are more commands

* Reduce the SetWithArgs command doc comment

* Rename SetWithArgs to SetArgs

* Rename ExpireAt to TTL

* Add KeepTTL field

* Add ExpireAt field as time.Time type

* Improve comments readability

* Add more tests for ExpireAt field

* Fix typo

* Fix multiple if/else chain lint error
2021-02-17 14:48:47 +02:00
kkkbird f594401261
support "XINFO CONSUMERS" (#1649)
* support "XINFO CONSUMERS"

* add "xinfo" test
2021-02-09 14:46:26 +02:00
Leandro Forain c2351b491a Add ScanType command to Scan with 'type' option
As of version 6.0 you can use this 'type' option to ask SCAN to only
return objects that match a given type, allowing you to
iterate through the database looking for keys of a specific type.
2021-01-09 09:20:35 -03:00
Yanis 4ab19e228a
Add LPOS command (#1556)
* Add LPos
2020-11-17 08:48:46 +02:00
TwinProduction b2df72a23d Refactor useless lines 2020-10-22 22:51:54 -04:00
TwinProduction cc71f5d293 Add SetEX command 2020-10-22 14:38:36 -04:00
Ilia Choly a2b0227421 feature: add XINFO STREAM support 2020-09-23 11:16:35 -04:00
Vladimir Mihailenco 86326c4924 Refactor NewXInfoGroupsCmd 2020-09-23 11:50:31 +03:00
Vladimir Mihailenco a32502b1d9 Cleanup 2020-09-23 10:29:13 +03:00
jamsonzan c89b69131d
fix: firstKeyPos cmdSlot (#1502)
* fix(xread):cmdSlot

Co-authored-by: zhangxinjian <zhangxinjian@crop.netease.com>
2020-09-23 10:22:11 +03:00
Vladimir Mihailenco 26d8b48cee Cleanup 2020-09-18 14:57:59 +03:00