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

Sanity check test: What happens if I put() into a naive DB #7

Open
Raynos opened this issue Feb 15, 2020 · 1 comment
Open

Sanity check test: What happens if I put() into a naive DB #7

Raynos opened this issue Feb 15, 2020 · 1 comment
Labels
question Further information is requested

Comments

@Raynos
Copy link
Contributor

Raynos commented Feb 15, 2020

A dynamodb Table can be created with hashkey only or hashkey + rangekey

The put() api requires a hashkey & a rangekey.

What happens when I put with a range key into a table that has been configured to be hashkey only ?

@heapwolf
Copy link
Member

heapwolf commented Feb 15, 2020

put doesn't require a range key this function accepts it but checks if it was passed or not, returning an appropriate object with or without it. Most functions work like this.

@jwerle jwerle added the question Further information is requested label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants