Skip to content

ifAbsent support with ZsetOperations [DATAREDIS-1235] #1794

Closed
@spring-projects-issues

Description

@spring-projects-issues

Kuldeep Singh opened DATAREDIS-1235 and commented

Expected Behavior
ZsetOperations Should support ifAbsent method
Current Behavior

ZsetOperations does not support ifAbsent method currently

Context

I am trying to use Redis SortedSets for a project where I Need to insert a set only if its already not present. But with current implementation of RedisTemplate I am unable to achieve that as ifAbsent is not supported for ZsetOperations yet

 

Also please suggest if there is any alternative way or workaround to achieve the same thing.
PS: I want to achieve the functionality of ifAbsent only in per operation basis. I do not want ifAbsent to be enabled for all operations


No further details from DATAREDIS-1235

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions