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

Rework DynamoDB parser to expect DynamoDB's format #12

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

bblommers
Copy link
Collaborator

The DynamoDBStatementParser now expects a document in the DynamoDB format:
{"a1": {"S": "b1"}, "a2": {"S": "b2"}}

This should simplify the invocation, as we no longer need to transform this data to regular JSON on Moto's side.
It also opens the door for support for WHERE-clauses such as attribute_type(\"FreeTier\", 'N')

Adds validation for tables that start with a number
Adds support for queries that have a table name surrounded by quotes

@bblommers bblommers merged commit 1ac8acc into main Oct 14, 2023
12 checks passed
@bblommers bblommers deleted the expect-dynamodb-json-format branch October 14, 2023 22:52
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.

1 participant