@demisbellot finishing up my Redis course, not seeing a way to add an item with score to sorted set with ServiceStack.Redis
-
-
Replying to @simpleprogrammr
@jsonmez not sure what you mean? there's Add and IncrementItemInSortedSet? https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/IRedisClient.cs#L189-L198 …1 reply 0 retweets 0 likes -
Replying to @demisbellot
@demisbellot I was looking at the IRedisClient.SortedSets, was trying to add directly to it, but that add doesn't take a score.1 reply 0 retweets 0 likes -
Replying to @simpleprogrammr
@jsonmez The 'Add' implements ICollection which doesn't allow a score, you can increment it with IncrementItemScore: https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/IRedisSortedSet.cs#L33 …1 reply 0 retweets 0 likes -
Replying to @demisbellot
@demisbellot Yep, I figured there might be an additional add that had the score, but I'll just use the AddItemToSortedSet instead2 replies 0 retweets 0 likes
@demisbellot Will give me chance to demo using the API in that way as well anyway.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.