Skip to content

Mysql: Add support for := operator#1779

Merged
iffyio merged 4 commits intoapache:mainfrom
SatoriCyber:support_colon_eq_operator_mysql
Mar 27, 2025
Merged

Mysql: Add support for := operator#1779
iffyio merged 4 commits intoapache:mainfrom
SatoriCyber:support_colon_eq_operator_mysql

Conversation

@barsela1
Copy link
Copy Markdown
Contributor

add support for := operator-mysql
MySQL dialect supports the := operator to assign values to user-defined variables in expressions, typically used in SELECT or UPDATE queries.
see https://dev.mysql.com/doc/refman/8.4/en/assignment-operators.html#operator_assign-value

Copy link
Copy Markdown
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @barsela1!
cc @alamb

@iffyio iffyio changed the title add support for := operator-mysql Mysql: Add support for := operator Mar 27, 2025
@iffyio iffyio merged commit 62495f2 into apache:main Mar 27, 2025
9 checks passed
ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Apr 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants