缺少BITFIELD命令 #186
Answered
by
2881099
luoyunchong
asked this question in
Q&A
缺少BITFIELD命令
#186
-
Beta Was this translation helpful? Give feedback.
Answered by
2881099
May 19, 2024
Replies: 1 comment
-
提交代码了,没来得及测试,API这样设计不知道是否灵活。 long[] results = cli.BitField(key,
new BitFieldAction { BitFieldOperation.get, new object[] { "encoding", offset } },
new BitFieldAction { BitFieldOperation.set, new object[] { "encoding", offset, value } },
new BitFieldAction { BitFieldOperation.incrby, new object[] { "encoding", offset, increment } },
new BitFieldAction { BitFieldOperation.overflow_sat },
); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
luoyunchong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提交代码了,没来得及测试,API这样设计不知道是否灵活。