dice icon indicating copy to clipboard operation
dice copied to clipboard

Add support for XX in SET command

Open sanuj96 opened this issue 1 year ago • 0 comments

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

  1. Implemented XX Option:

    • Updated the SET command to handle the XX option.
  2. Unit Tests:

    • Added unit tests for the XX option.

sanuj96 avatar Aug 03 '24 13:08 sanuj96