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

Implement APPEND command #62

Closed
kelvinmwinuka opened this issue Jun 15, 2024 · 1 comment · Fixed by #84
Closed

Implement APPEND command #62

kelvinmwinuka opened this issue Jun 15, 2024 · 1 comment · Fixed by #84
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kelvinmwinuka
Copy link
Collaborator

kelvinmwinuka commented Jun 15, 2024

Implement the APPEND command, which appends the provided string to the value at the specified key if the value is a string.
Reference: https://redis.io/docs/latest/commands/append/

Client-Server Spec:

Command File: ./internal/modules/string/commands.go
Test File: ./internal/modules/string/commands_test.go

Command: append
Module: constants.StringModule
Categories: constants.StringCategory, constants.WriteCategory, constants.FastCategory
Description: (APPEND key value) If key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string, so APPEND will be similar to [SET] in this special case.
Sync: true

Embedded Spec:

Command File: ./echovault/api_string.go
Test File: ./echovault/api_string_test.go

@kelvinmwinuka kelvinmwinuka added enhancement New feature or request good first issue Good for newcomers labels Jun 15, 2024
@DMcP89
Copy link
Contributor

DMcP89 commented Jun 25, 2024

@kelvinmwinuka I'll pick this one up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants