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

feature(dynamodb): delete items for specific hashkey and any sortkey #6

Open
wtho opened this issue Sep 7, 2020 · 0 comments · May be fixed by #9
Open

feature(dynamodb): delete items for specific hashkey and any sortkey #6

wtho opened this issue Sep 7, 2020 · 0 comments · May be fixed by #9

Comments

@wtho
Copy link
Contributor

wtho commented Sep 7, 2020

When using the CLI to delete a dynamodb item via hash key, a sort key also has to be specified if several items exist for a single hash key.

partition key sort key value
abc123 main { "something": 123 }
abc123 sk1 {"somethingElse": "yeah"}
abc123 sk2 {"somethingElse": "oh no"}

Sometimes it is desired to delete all items for a specific hash key (here abc123), which can take a long time when done manually for each item individually.

@wtho wtho linked a pull request Sep 17, 2020 that will close this issue
2 tasks
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 a pull request may close this issue.

1 participant