dice
dice copied to clipboard
Add support for XX in SET command
Add XX Support to SET Command
Description
This pull request adds support for the XX option to the SET command, similar to the XX option in Redis. The XX option sets the value of the key only if it is already present. Solving the issue https://github.com/DiceDB/dice/issues/205
Changes Made
-
Implemented XX Option:
- Updated the SET command to handle the XX option.
-
Unit Tests:
- Added unit tests for the XX option.