How get the "score" value when I put an element in a sortedSet
-
For example suppose I put the element in a sorted set in this way:
db.sortedSetAdd(set, Date.now(), data.name, function(err) {
});Now I want to get for every element the value of "Date.now()". I see the API but I don't find the solution. Anyone can help me?
Copyright © 2024 NodeBB | Contributors