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

DynamoDB: execute_statement() now supports INSERT/UPDATE/DELETE queries #7130

Merged
merged 1 commit into from Dec 17, 2023

Conversation

bblommers
Copy link
Collaborator

The py_partiql_parser module supports updates as of >= 0.5.0. It now sends back a list of tuples in the form: (before, after)

This PR introduces the appropriate changes in Moto to insert data (if before is None), update data (if before and after are set) or delete rows (if after is None)

@bblommers bblommers added this to the 4.2.12 milestone Dec 17, 2023
@bblommers bblommers merged commit 9c39ab9 into getmoto:master Dec 17, 2023
30 checks passed
@bblommers bblommers deleted the dynamodb-partiql-updates branch December 17, 2023 10:53
Copy link
Contributor

This is now part of moto >= 4.2.12.dev28

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.

None yet

1 participant