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

Allow 'scan' method to return all attributes if none are specified #81

Merged
merged 1 commit into from
Apr 11, 2016
Merged

Allow 'scan' method to return all attributes if none are specified #81

merged 1 commit into from
Apr 11, 2016

Conversation

spencerfdavis
Copy link
Contributor

According to Amazon's DOCS (http://docs.aws.amazon.com/sdkfornet1/latest/apidocs/html/P_Amazon_DynamoDBv2_Model_QueryRequest_AttributesToGet.htm)

You cannot use both AttributesToGet and Select together in a Query request, unless the value for Select is SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying AttributesToGet without any value for Select.)

I simply removed the Select key and have it defaulting to pull all attributes or any specified with the attrsGet key.

Addressed issue #51

@victorquinn victorquinn merged commit 49ec711 into victorquinn:master Apr 11, 2016
@victorquinn
Copy link
Owner

Looks great, thanks!

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 this pull request may close these issues.

2 participants