-
Notifications
You must be signed in to change notification settings - Fork 90
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
Execute sql strings with multiple statements #346
Comments
I am a bit time constrained right now, so would be happy if you took a first look. |
I guess we have to split the queries at one point with As I see it there are basically 3 options (probably there are more):
Which options sounds best to you, or you got another idea? |
My initial preference would be #3 (I like singular and plural, but that is just me). Probably need an arg for the user to decide if everything is wrapped in a single transaction or commits each separately. Would we get back parameterization that we do not have in execute-file? |
In the
psql
cli we can execute two statements in one go. E.g.Right now trying this with
pomo:execute
orpomo:query
results in an error.Do you think these macros could/should handle sql strings with multiple statements as well?
This would also allow to add more slots to dao class (e.g. col-index, col-comment).
I can help with the implementation if it helps.
The text was updated successfully, but these errors were encountered: