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

Add StringCommand for a SET with GET option #2853

Open
galingerv opened this issue Feb 18, 2024 · 1 comment
Open

Add StringCommand for a SET with GET option #2853

galingerv opened this issue Feb 18, 2024 · 1 comment
Labels
type: enhancement A general enhancement

Comments

@galingerv
Copy link

It would be great to have a method in RedisStringCommands that would allow a SET command with GET option, which is available since Redis 6.2.0 according to the documentation of Redis. Furthermore, I would like to use it with NX option, like SET key value NX GET EX seconds, which is available since 7.0.0

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 18, 2024
@mp911de
Copy link
Member

mp911de commented Feb 19, 2024

We do not expose an API for Redis commands introduced with Redis 7 yet. However, this would be a neat enhancement.

@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants