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

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

Add StringCommand for a SET with GET option #2853

galingerv opened this issue Feb 18, 2024 · 1 comment
Assignees
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
@mp911de mp911de added this to the 3.5 M2 (2025.0.0) milestone Feb 24, 2025
mp911de added a commit that referenced this issue Feb 24, 2025
Reformat code, add since tags. Tweak Javadoc wording.

See #2853
Original pull request: #3017
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

Successfully merging a pull request may close this issue.

4 participants