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

Add ability to run sql in the target database #31

Open
asabil opened this issue Sep 1, 2017 · 4 comments
Open

Add ability to run sql in the target database #31

asabil opened this issue Sep 1, 2017 · 4 comments

Comments

@asabil
Copy link

asabil commented Sep 1, 2017

It would be great if shmig allowed easy running of sql in the target database according to its config.

@mbucc
Copy link
Owner

mbucc commented Sep 2, 2017

I'm not 100% sure what you mean. Something like this?

shmig -c my.conf "insert into mytbl (id, name) values (1, 'one');"

@asabil
Copy link
Author

asabil commented Sep 2, 2017

yes exactly

@mbucc
Copy link
Owner

mbucc commented Sep 2, 2017

Why is this better than using the database's command-line client?

@asabil
Copy link
Author

asabil commented Sep 18, 2017

You can then reuse the database arguments abstractions and config loading built into shmig

shamrin added a commit to shamrin/shmig that referenced this issue Jun 2, 2019
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

No branches or pull requests

2 participants