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

fix (clause/expression): Allow sql stmt terminator #4693

Merged

Conversation

jimlambrt
Copy link
Contributor

Example: select * from table_name where name == @name;

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

Allow the sql stmt terminator ";" at the end of a named parameter.

User Case Description

Example:
select * from table_name where name == @name;

Allow the stmt terminator ; at the end of the stmt without a space between it and the named parameter.

Allow the sql stmt terminator ";" at the end of a named parameter.

Example: select * from table_name where name == @name;
@jinzhu jinzhu merged commit 5202529 into go-gorm:master Sep 20, 2021
mittwillson pushed a commit to itering/gorm that referenced this pull request Sep 27, 2021
Allow the sql stmt terminator ";" at the end of a named parameter.

Example: select * from table_name where name == @name;
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.

3 participants