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

How to add a Where a clause ? #10

Open
br4in1 opened this issue Apr 28, 2020 · 1 comment
Open

How to add a Where a clause ? #10

br4in1 opened this issue Apr 28, 2020 · 1 comment

Comments

@br4in1
Copy link

br4in1 commented Apr 28, 2020

Hello,

When using the mysqldump command on CLI, there's the ability to pass a condition to the -w option to act like a WHERE clause.
How can I achieve this with go-mysqldump ?
Thanks.

@BrandonRoehl
Copy link
Member

Currently this is not possible as we don’t recreate all MySQL dump CLI functionality.

For this a PR would be needed the CreateSQL command will need to be updated as well as the *Data structure to have a place to set the new query.

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