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

Parse, edit and print SQL query #2

Closed
luxflux opened this issue Oct 23, 2013 · 1 comment
Closed

Parse, edit and print SQL query #2

luxflux opened this issue Oct 23, 2013 · 1 comment

Comments

@luxflux
Copy link

luxflux commented Oct 23, 2013

Hi!

I'm looking for a solution to parse an SQL query, replace some stuff and print it out again.

So that a query like SELECT * FROM users WHERE id = 1 becomes SELECT * FROM users WHERE id = n (like mysqldumpslow does).

Is this possible with this lib? What do you think?

@arthurnn
Copy link
Collaborator

yep, this should be possible here.

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