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

Added missing white space #4330

Merged
merged 3 commits into from
Apr 28, 2021
Merged

Added missing white space #4330

merged 3 commits into from
Apr 28, 2021

Conversation

KarolosLykos
Copy link
Contributor

What did this pull request do?

Added some missing spaces.

User Case Description

When using clause.OnConflict with DoUpdates a white space was missing.

@jinzhu
Copy link
Member

jinzhu commented Apr 28, 2021

Hi @KarolosLykos

Thank you for your PR, I think maybe better to add a space before the WHERE in line #44

@KarolosLykos
Copy link
Contributor Author

I thought it would be better for consistency reasons. As all other checks adds a space at the end.

@jinzhu
Copy link
Member

jinzhu commented Apr 28, 2021

I thought it would be better for consistency reasons. As all other checks adds a space at the end.

Other places add a space at the end because there are always something after it, but not sure for this one.

@KarolosLykos
Copy link
Contributor Author

Ok I update so the space is added before the where clause.

clause/on_conflict.go Outdated Show resolved Hide resolved
@jinzhu jinzhu merged commit f0d0bbb into go-gorm:master Apr 28, 2021
MittWillson pushed a commit to itering/gorm that referenced this pull request Sep 27, 2021
* Added missing white space

* Added missing white space

* Added missing white space
cgxxv pushed a commit to cgxxv/gorm that referenced this pull request Mar 25, 2022
* Added missing white space

* Added missing white space

* Added missing white space
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.

None yet

2 participants