Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Add support for ProjectionExpression instead of AttributesToGet #3

Open
soderluk opened this issue Feb 23, 2016 · 0 comments
Open

Add support for ProjectionExpression instead of AttributesToGet #3

soderluk opened this issue Feb 23, 2016 · 0 comments

Comments

@soderluk
Copy link
Contributor

The AttributesToGet is legacy. ProjectionExpression is the correct way to fetch the columns.

When changing this, add support for checking against reserved keywords, and escaping them if found. Otherwise an "InvalidXExpression: Attribute name is a reserved keyword; reserved keyword: " exception will be thrown.

...
ProjectionExpression: "AlbumTitle, #y",
ExpressionAttributeNames: {"#y": "Year"}

Reserved words in DynamoDB

hugovk pushed a commit that referenced this issue Sep 9, 2016
* loading a model should result in undirty attributes and a existent flagged object
* added ability to use built-in timestamp attribute
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants