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 passing custom flags to db exec #548

Open
shadyvb opened this issue Nov 29, 2022 · 0 comments · May be fixed by #549
Open

Allow passing custom flags to db exec #548

shadyvb opened this issue Nov 29, 2022 · 0 comments · May be fixed by #549

Comments

@shadyvb
Copy link
Contributor

shadyvb commented Nov 29, 2022

Some use cases might need passing additional flags to mysql, eg: -N or --skip-column-headers to suppress column headers, which is currently not possible.

eg:

composer server db exec -- -N 'select option_value from wp_options where option_name = \'siteurl\';'

Should be possible with a simple change, will post a PR shortly, just creating an issue for visibility.

shadyvb added a commit that referenced this issue Nov 29, 2022
@shadyvb shadyvb linked a pull request Nov 29, 2022 that will close this issue
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 a pull request may close this issue.

1 participant