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
Doc 2841 code samples for bitfield C# #281
base: master
Are you sure you want to change the base?
Doc 2841 code samples for bitfield C# #281
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #281 +/- ##
=======================================
Coverage 94.35% 94.35%
=======================================
Files 88 88
Lines 5425 5425
Branches 496 496
=======================================
Hits 5119 5119
Misses 180 180
Partials 126 126 ☔ View full report in Codecov by Sentry. |
Closes #209 |
|
||
|
||
// STEP_START bf | ||
long res1 = db.StringIncrement("bike:1:stats", 1000); |
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.
This does not match exactly the Python snippet at https://redis.io/docs/latest/develop/data-types/bitfields/
The C# client seems to work a bit differently to the Python client for these commands. Hopefully, I've translated it over from Python correctly.