Skip to content

SetArgs GET with NX (Redis 7) #3410

@terrettaz

Description

@terrettaz

Feature Request

Command SET arguments change

Is your feature request related to a problem? Please describe

Indeed since version 7.0.0, redis added the possibility to use both options GET and NX together. We'd like to have this small feature to use it in our projects instead of internally extending the class SetArgs
https://redis.io/docs/latest/commands/set/#options

Describe the solution you'd like

Adding the possibility to specify the option GET with NX.

I started the work here main...terrettaz:lettuce:SetArgs-GET
If accepted this is ready to be requested

Describe alternatives you've considered

N/A

Teachability, Documentation, Adoption, Migration Strategy

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicateA duplicate of another issuetype: improvementAn improvement to the existing implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions