Commit Graph

222 Commits

Author SHA1 Message Date
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
x1nchen 10e779f856
feature: add support for set keepttl (#1499)
* feature: add support for set keepttl
2020-09-18 14:49:12 +03:00
Vladimir Mihailenco 513fcfb224 Remove strconv 2020-09-11 09:32:39 +03:00
Vladimir Mihailenco 690d9a94f3 Rename SlowLog to SlowLogGet 2020-09-09 18:09:26 +03:00
wziww be9ae84c6f support for slowlog command 2020-09-09 12:36:25 +03:00
刘青 8a3f304b25
Log with context to associate all log by traceID (#1413)
* Log with context to associate all log by traceID
2020-07-18 09:04:36 +03:00
Vladimir Mihailenco 38c87c1f84 Fix golangci 2020-07-16 10:01:27 +03:00
Vladimir Mihailenco 14c843ef89 gofumports 2020-07-16 09:52:07 +03:00
Vladimir Mihailenco 8638895c66 Cleanup appendArgs 2020-06-29 17:48:57 +03:00
Adam Babik b2acec277e
add support for slices in XAddArgs.Values 2020-06-28 12:36:22 +02:00
Vladimir Mihailenco 408b4d52c8 Fix wording 2020-06-10 17:22:06 +03:00
Vladimir Mihailenco 0fbf4e7221 Tweak log message 2020-06-10 16:44:48 +03:00
Roman Volosatovs 7f89f75288
Truncate sub-{mili,}second durations to 1 2020-06-10 13:52:27 +02:00
Robert B Gordon e6d31f6540 Update docs
Looks like these should really be HSet ?
2020-06-07 21:50:34 -05:00
Vladimir Mihailenco 3d03b1fa6a Fix merge 2020-05-21 10:19:17 +03:00
Vladimir Mihailenco 4440575966 Merge branch 'v8' 2020-05-21 10:16:44 +03:00
filipe oliveira cf6cf7f450 Add AuthACL 2020-05-21 08:59:51 +03:00
Vladimir Mihailenco 76f0041b12 Fix build 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 7df36b4eb7 Rename HMSet to HSet and restore old HMSet 2020-02-19 16:34:34 +02:00
git-hulk d52b11cb42 Exported the setErr function as public 2020-02-03 17:53:47 +08:00
Vladimir Mihailenco 2f96fd1378 Fix doc 2020-01-20 11:57:46 +02:00
Vladimir Mihailenco 08dad1eb7f Add hint on Streams usage 2020-01-12 12:14:22 +02:00
Vladimir Mihailenco 13b6cb3891 Add note on HMGet 2020-01-12 12:03:21 +02:00
Vladimir Mihailenco 071b053edd Fix HMSet args size 2019-12-24 12:34:52 +02:00
Vladimir Mihailenco d7ce64d287 Use HSET for HMSet 2019-12-18 12:47:46 +02:00
yalouwang d3b25fc66c fix:Set operation claims insufficient memory (#1203) 2019-12-04 17:19:00 +08:00
saito d5b2eccbe2 add xinfo groups command (#1166)
Add xinfo groups command
2019-10-08 12:48:24 +03:00
Vladimir Mihailenco 3e1f1aba0e Remove deprecated command 2019-08-28 14:52:27 +03:00
Vladimir Mihailenco f6fc23d2fa Move key to ZStore 2019-08-09 16:23:56 +03:00
Vladimir Mihailenco 191391d66d Add writing version of GeoRadius commands 2019-08-09 15:04:56 +03:00
Vladimir Mihailenco 7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Vladimir Mihailenco 52ec525849 Propagate context in Pipeline 2019-07-25 13:28:15 +03:00
sjindal995 87ea8a4220 remove mandatory arg value in lpushx and rpushx 2019-07-18 17:23:05 +05:30
sjindal995 5c3de7537a Making LpushX and RpushX variadic 2019-07-18 16:48:09 +05:30