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

Allow to run multiple SQL statements #3

Open
hsonne opened this issue Aug 11, 2019 · 0 comments
Open

Allow to run multiple SQL statements #3

hsonne opened this issue Aug 11, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hsonne
Copy link
Member

hsonne commented Aug 11, 2019

I want to set a parameter in a first SQL statement and then use the parameter in the next statement. This does currently not work using run_in_fakin_database(). I assume that is has to do with the fact that I open the connection, run the query and close the connection. Most probably the variables are not kept between sessions. So, I should allow either to pass a vector of SQL statements or to pass a connection in which case the connection will not be closed.

@hsonne hsonne added the enhancement New feature or request label Aug 11, 2019
@hsonne hsonne self-assigned this Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant