Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add get() method to SetParams #4100

Open
mikewacker opened this issue Feb 24, 2025 · 0 comments
Open

[Feature Request] Add get() method to SetParams #4100

mikewacker opened this issue Feb 24, 2025 · 0 comments
Labels
feature waiting-for-triage Still needs to be triaged

Comments

@mikewacker
Copy link

https://www.javadoc.io/doc/redis.clients/jedis/latest/redis/clients/jedis/params/SetParams.html

There's no get() method for SetParams.


Here's a command to motivate this feature request:

SET some:key 1 NX GET

There's a couple reasons why client.getSet() isn't a viable workaround (where client is of type JedisPooled):

  • It doesn't support, e.g., EX or NX options.
  • It's a deprecated method.
@ggivo ggivo added feature waiting-for-triage Still needs to be triaged labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature waiting-for-triage Still needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants