-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
adopt forked squirrel supporting from UPDATE FROM #19896
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes: * Masterminds/squirrel#256 supporting FROM clause to update builder (Postgres) * Extension of above to support multiple FROM in UPDATE (Postgres) * Support for multiple tables in UPDATE (MySQL) This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
mm-cloud-bot
added
the
release-note-none
Denotes a PR that doesn't merit a release note.
label
Apr 1, 2022
lieut-data
commented
Apr 1, 2022
agnivade
approved these changes
Apr 2, 2022
isacikgoz
approved these changes
Apr 4, 2022
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.
LGTM!
isacikgoz
added
4: Reviews Complete
All reviewers have approved the pull request
and removed
2: Dev Review
Requires review by a developer
labels
Apr 4, 2022
amyblais
added
Changelog/Not Needed
Does not require a changelog entry
Docs/Not Needed
Does not require documentation
labels
Apr 4, 2022
mylonsuren
pushed a commit
to mylonsuren/mattermost-server
that referenced
this pull request
Apr 5, 2022
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes: * Masterminds/squirrel#256 supporting FROM clause to update builder (Postgres) * Extension of above to support multiple FROM in UPDATE (Postgres) * Support for multiple tables in UPDATE (MySQL) This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
Willyfrog
pushed a commit
to Willyfrog/mattermost-server
that referenced
this pull request
Apr 8, 2022
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes: * Masterminds/squirrel#256 supporting FROM clause to update builder (Postgres) * Extension of above to support multiple FROM in UPDATE (Postgres) * Support for multiple tables in UPDATE (MySQL) This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
FreedomBen
pushed a commit
to FreedomBen/mattermost-server
that referenced
this pull request
Jun 14, 2022
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes: * Masterminds/squirrel#256 supporting FROM clause to update builder (Postgres) * Extension of above to support multiple FROM in UPDATE (Postgres) * Support for multiple tables in UPDATE (MySQL) This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4: Reviews Complete
All reviewers have approved the pull request
Changelog/Not Needed
Does not require a changelog entry
Docs/Not Needed
Does not require documentation
release-note-none
Denotes a PR that doesn't merit a release note.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes:
This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
Ticket Link
None.
Release Note