Add bitfield api - #423
Conversation
|
Thanks for the contribution! However, it seems that the bitfield interface you proposed, is not more user-friendly than the generic interface: I checked the doc on redis.io, this command, which has 3 subcommands, is quite complex. It seems that there're 2 solutions:
However, both solutions are not perfect. The first one is a little complicated, and the GET subcommand doesn't need the Not quite sure which solution is the best one. Or maybe for complex command, the generic command is the best choice? B.T.W. you should save the return value of bitfield into a STL container of type Regards |
|
@sewenew Thank you for reviewing. |
|
In fact, redis-plus-plus can implement almost all commands through the generic interface: command method, I just want to add the api of bitfield to the project with minimize the use of If you think use |
|
Thanks for the info on Jedis! Let's make this PR pending to see if there're any new feedback from others. Also I'll take a look at other client APIs for these complex command. Regards |
Just add bitfield api