Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
Since now 15days, i'm using Nohm as a Model Abstraction to redis.
After some practise and several tests cases, i decided to keep it
as a main Redis interaction for my project.
Here the benefits i can highlight :
I also fall in some unpleasant issue that should be imho redesigned :
As Sorted Set is one of the best benefit of Redis, i decided to integrate it in the relation model feature.
My pull request allow to specify a score in the zlink function :
User.zlink(Action, { score : date })
Remaining things to do :
What is the benefit ?
Now in ONE call, we give relation powerfull search :
get object id of Y linked to object X, which have [min/max] score S [limit the result to L] [DESC/ASC]
What do you think ?
Well, this is a small contribution. I think there is other improvement to bring about some Redis feature(eg: sscan/zscan).
Anyway thank you for your project, it is truely helping. Please don't let it go ;)
I hope to have time to help you again in the near future.
Regards,
S