-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support User-Defined Variables for mysql #81
Conversation
@@ -4457,7 +4457,15 @@ set_stmt | |||
} | |||
|
|||
set_assignment | |||
= name:((ident / paren$list$ident) __) "=" value:(__ expr) { | |||
= &mysql name:((ident / variable / paren$list$ident / paren$list$variable) __) "=" value:(__ expr) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only mysql setting
Thanks for the PR. Though I don't really understand what you mean by:
I don't see anything related to functions in this PR. |
my friend corrected the sentence:
|
@nene |
Hey, Thanks for the reminder. I've released 0.28.1 and also did a release of the prettier plugin to use the updated parser. |
For mysql (and mariadb), variables @foo can now be defined as user-defined functions.
specification