sqlparse
sqlparse copied to clipboard
[Feature request] Generalize query
Is your feature request related to a problem? Please describe. Do you want a feature to generalize the sql:
'SELECT /* Test */ foo FROM bar WHERE id in (1, 2, 56)'
-> 'SELECT foo FROM bar WHERE id in (XYZ)'
(cleaned comment, too)
This feature would help the grouping sql more handy.
Describe the solution you'd like I will replace the param token into constant. If you want, i would like to give a PR.