You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Remove ZAddArgs.empty() method to avoid confusion with none() method. Use NONE constant only internally. Adapt calling methods.
Reformat code.
See #1794
Original pull request: #1988.
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
The text was updated successfully, but these errors were encountered: