Skip to content
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

docs: Add Arity Error Documentation to GETBIT #958

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

0xTheProDev
Copy link
Contributor

fixes: #796

Copy link
Contributor

@apoorvyadav1111 apoorvyadav1111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the contribution. I have few suggestions that I would like to share. In the return values table, we can convey the information in a better way as we are distinguishing command is successful and key not existing as separate. However, key not existing or key length less than offset both are considered to be successful operation.

In addition to this, in the explanation we can also add about the value at offset being considered 0 if the length is less than offset .

I think the rest of the document is complete.

Thanks

@0xTheProDev
Copy link
Contributor Author

@apoorvyadav1111 I have updated the doc as such. Thanks for the review.

@AshwinKul28 AshwinKul28 merged commit 3b02583 into DiceDB:master Oct 7, 2024
1 check passed
@0xTheProDev 0xTheProDev deleted the issue/796 branch October 7, 2024 12:27
sashpawar11 pushed a commit to sashpawar11/dice that referenced this pull request Oct 13, 2024
* docs: Add Arity Error Documentation to GETBIT

fixes: DiceDB#796

* fixup! docs: Add Arity Error Documentation to GETBIT

* fixup! fixup! docs: Add Arity Error Documentation to GETBIT

* fixup! fixup! fixup! docs: Add Arity Error Documentation to GETBIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit and make documentation for command GETBIT consistent
3 participants