Home / node / Commands / enumerations / UpdateByScore @valkey/valkey-glide
@valkey/valkey-glide / Commands / UpdateByScore
Enumeration: UpdateByScore
Options for updating elements of a sorted set key.
Enumeration Members
GREATER_THAN
GREATER_THAN:
"GT"
Only update existing elements if the new score is greater than the current score.
LESS_THAN
LESS_THAN:
"LT"
Only update existing elements if the new score is less than the current score.