-
Notifications
You must be signed in to change notification settings - Fork 2
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
Supporting Insert, Update, Delete for DynamoDB #15
Comments
Hi @ajaali! The Out of the top of my head I can see two approaches:
There is a danger that the first option would make the two modules too closely coupled, but I don't know yet what the second option could look like. PR's/suggestions are always welcome! |
Thanks, I was leaning toward no.2 where |
Sounds good @ajaali - let me know if you want any help! |
Hi @ajaali! Hope you don't mind - but I had a crack at this myself.
This is exposed as of moto >= 4.2.12.dev28, with PR getmoto/moto#7130 Note that the |
Hi @bblommers with query = 'UPDATE users SET
|
Hi @r4m4k0735w4r4r40, that should have been fixed as of 0.5.1. I'll close this, but let me know if you run into any other issues with the latest release (0.5.4) |
Currently
execute_statement
in the Moto library only supportsSelect
queries, From my understandingMoto
uses py-partiql-parser to parse the partiQL statements when callingexecute_statement
execute_transaction
andbatch_execute_statement
.It would be nice to be able to handle Insert, Update and Delete in Moto.
I can have a look and work on making the changes if you agree.
The text was updated successfully, but these errors were encountered: