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
e7dbdda439
add HRANDFIELD and ZRANDMEMBER commands
...
Signed-off-by: monkey <golang@88.com >
2021-03-27 10:37:44 +08:00
cb1be727e3
add new cmd: getEX getDel
...
Signed-off-by: monkey <golang@88.com >
2021-03-26 17:13:22 +08:00
02a9c81ef1
Fix golangci-lint check
2021-03-23 11:02:29 +02:00
abb58ff31f
Add ZMScore cmd
2021-03-08 10:09:34 +01:00
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
61680f373c
Tweak API
2021-02-17 15:12:10 +02:00
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
f594401261
support "XINFO CONSUMERS" ( #1649 )
...
* support "XINFO CONSUMERS"
* add "xinfo" test
2021-02-09 14:46:26 +02:00
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
4ab19e228a
Add LPOS command ( #1556 )
...
* Add LPos
2020-11-17 08:48:46 +02:00
b2df72a23d
Refactor useless lines
2020-10-22 22:51:54 -04:00
cc71f5d293
Add SetEX command
2020-10-22 14:38:36 -04:00
a2b0227421
feature: add XINFO STREAM support
2020-09-23 11:16:35 -04:00
86326c4924
Refactor NewXInfoGroupsCmd
2020-09-23 11:50:31 +03:00
a32502b1d9
Cleanup
2020-09-23 10:29:13 +03:00
c89b69131d
fix: firstKeyPos cmdSlot ( #1502 )
...
* fix(xread):cmdSlot
Co-authored-by: zhangxinjian <zhangxinjian@crop.netease.com >
2020-09-23 10:22:11 +03:00
26d8b48cee
Cleanup
2020-09-18 14:57:59 +03:00
10e779f856
feature: add support for set keepttl ( #1499 )
...
* feature: add support for set keepttl
2020-09-18 14:49:12 +03:00
513fcfb224
Remove strconv
2020-09-11 09:32:39 +03:00
690d9a94f3
Rename SlowLog to SlowLogGet
2020-09-09 18:09:26 +03:00
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
38c87c1f84
Fix golangci
2020-07-16 10:01:27 +03:00
14c843ef89
gofumports
2020-07-16 09:52:07 +03:00
8638895c66
Cleanup appendArgs
2020-06-29 17:48:57 +03:00
b2acec277e
add support for slices in XAddArgs.Values
2020-06-28 12:36:22 +02:00
408b4d52c8
Fix wording
2020-06-10 17:22:06 +03:00
0fbf4e7221
Tweak log message
2020-06-10 16:44:48 +03:00
7f89f75288
Truncate sub-{mili,}second durations to 1
2020-06-10 13:52:27 +02:00
e6d31f6540
Update docs
...
Looks like these should really be HSet ?
2020-06-07 21:50:34 -05:00
3d03b1fa6a
Fix merge
2020-05-21 10:19:17 +03:00
4440575966
Merge branch 'v8'
2020-05-21 10:16:44 +03:00
cf6cf7f450
Add AuthACL
2020-05-21 08:59:51 +03:00
76f0041b12
Fix build
2020-05-19 08:52:38 +03:00
3dcb844106
Bump major version
2020-05-19 08:52:38 +03:00
f5593121e0
Add ctx as first arg
2020-05-19 08:52:38 +03:00
7df36b4eb7
Rename HMSet to HSet and restore old HMSet
2020-02-19 16:34:34 +02:00
d52b11cb42
Exported the setErr function as public
2020-02-03 17:53:47 +08:00
2f96fd1378
Fix doc
2020-01-20 11:57:46 +02:00
08dad1eb7f
Add hint on Streams usage
2020-01-12 12:14:22 +02:00
13b6cb3891
Add note on HMGet
2020-01-12 12:03:21 +02:00
071b053edd
Fix HMSet args size
2019-12-24 12:34:52 +02:00
d7ce64d287
Use HSET for HMSet
2019-12-18 12:47:46 +02:00
d3b25fc66c
fix:Set operation claims insufficient memory ( #1203 )
2019-12-04 17:19:00 +08:00
d5b2eccbe2
add xinfo groups command ( #1166 )
...
Add xinfo groups command
2019-10-08 12:48:24 +03:00
3e1f1aba0e
Remove deprecated command
2019-08-28 14:52:27 +03:00
f6fc23d2fa
Move key to ZStore
2019-08-09 16:23:56 +03:00
191391d66d
Add writing version of GeoRadius commands
2019-08-09 15:04:56 +03:00
7779accbea
Use semantic import versioning
2019-08-08 14:29:44 +03:00