-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Implements BITFIELD_RO command #2174
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.
What if there's a new read sub-command for BITFIELD command? So I don't think bitfieldReadonly(T key, T type, T offset)
is a good idea. bitfield(T key, T... arguments)
bitfieldReadonly(T key, T... arguments)
may look ugly, but it's a much safer option.
Can you give a specific code example? |
Sorry, there was a typo in my previous comment. About example, in
my suggestion is to use
|
Is this for scalability? Currently bitfield_ro only supports the
For scalability reasons, I think your suggestion is good. |
Yes. |
4911377
to
8942927
Compare
@sazzad16 Thanks,updated. |
In the redis unstable branch, the
bitfield_ro
command is added, refer: this .