go-redis
go-redis copied to clipboard
NX parameter missing for EXPIRE command
According to https://redis.io/commands/expire the EXPIRE
command can have the NX
parameter.
I can't find a command like ExpireNX()
or a parameter for Expire()
Am I missing something ? Thanks 🙏
Yes, it is a new option added by redis7.0, go-redis has not been updated yet.
Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?
Yes, welcome
Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?
If you perform unit tests locally, you can try this tool (grte), it is still in the testing phase
Hi, any news @bmassemin ?
Sorry, I was planning on adding the feature to the client, but for my project, we don't use Redis 7 (yet), so I had to change my design. I will try to take a moment tomorrow to propose a PR.
when are u guys planning to release the new version @DaemonSnake @vmihailenco @monkey92t
This issue is marked stale. It will be closed in 30 days if it is not updated.