-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Sortedset inconsistencies #239
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
func prepareElementValue(name Value) ([]byte, error) { | ||
if name == nil { | ||
func prepareElementValue(value Value) ([]byte, error) { | ||
if value == nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the error below should say "element value cannot be nil" instead?
LGTM apart from the question about the error message. |
There's nothing different about values in sorted sets from any other value.
Now takes just a list of values (not elements, and no flags). A sorted set can be deleted with `client.Delete(collectionName)`.
38b132e
to
9eb7d6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* feat!: SortedSetGetRankHit.Rank() and uint64 type conversion. * feat!: SortedSetGetRank takes Value, SortedSetGetScores takes Values. * feat!: SortedSetIncrementScoreSuccess is a type conversion. Add Score(). * feat!: SortedSetRemove takes only values. A sorted set can be deleted with `client.Delete(collectionName)`.
client.delete
.Closes #167
Closes #204
Closes #168