-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 check constraints #5760
Comments
@morgo Would like to work on this but I need a help. |
@systay and @harshit-gangal are the best mentors. They are Andres Taylor and Harshit on Slack. |
Hi @evalsocket ! Are you working on this? If not, I would like to take this up. |
@supra08 There are no open PRs that correspond to this. Let's give @evalsocket a brief moment to reply, but I think it's yours for the taking :-) |
Alright thanks! |
@supra08 have you been working on this? If not, I would love to take a crack. |
No sorry, I haven't been working on it. You can take it up. |
Thanks for the prompt reply, I'll take a shot at it. |
Feature Description
When creating a table in MySQL, a number of check constraints can be added.
The sqlparser module does not currently parse these statements.
Use Case(s)
sqlparser is being used by https://github.com/kyleconroy/sqlc, a SQL to Go code generator, and needs this information to correctly generate code from database migrations and other code using CHECK constraints.
The text was updated successfully, but these errors were encountered: