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

update JSON.FORGET doc and make it consistent with SET command doc #912

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dhroov7
Copy link
Contributor

@Dhroov7 Dhroov7 commented Oct 2, 2024

update JSON.FORGET doc and make it consistent with SET command doc.

Fixes #833

@Dhroov7
Copy link
Contributor Author

Dhroov7 commented Oct 2, 2024

@lucifercr07 @JyotinderSingh Please review

@@ -1,109 +1,94 @@
---
title: JSON.FORGET
description: Documentation for the DiceDB command JSON.FORGET
description: The `JSON.FORGET` command in DiceDBJSON is used to delete a specified path from a JSON document stored at a given key. If the path leads to an array element, the element is removed, and the array is reindexed.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: DiceDBJSON

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lucifercr07 Please check now

@@ -3,107 +3,92 @@ title: JSON.FORGET
description: Documentation for the DiceDB command JSON.FORGET
---

The `JSON.FORGET` command is part of the DiceDBJSON module, which allows you to manipulate JSON data stored in DiceDB. This command is used to delete a specified path from a JSON document stored at a given key. If the path leads to an array element, the element is removed, and the array is reindexed.
The `JSON.FORGET` command in DiceDBJSON is used to delete a specified path from a JSON document stored at a given key. If the path leads to an array element, the element is removed, and the array is reindexed. This is useful for modifying and updating portions of a JSON document.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be The JSON.FORGET command in DiceDB is used to delete a specified path from a JSON document stored at a given key.?

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 JSON.FORGET consistent
2 participants