Fix field SQL identifier render for queries /wo table alias#784
Closed
DarkSide666 wants to merge 7 commits intodevelopfrom
Closed
Fix field SQL identifier render for queries /wo table alias#784DarkSide666 wants to merge 7 commits intodevelopfrom
DarkSide666 wants to merge 7 commits intodevelopfrom
Conversation
Collaborator
|
The issue is on this line: data/src/Reference/HasOneSql.php Line 191 in 7a39b62 Model::refLink is used which adds aliases but in DSQL the operations apart from SELECT use template |
Member
Author
|
Maybe we should have a way to tell refLink to not add aliases in some specific cases? |
7a39b62 to
c4df900
Compare
95013d5 to
b4fa410
Compare
mvorisek
requested changes
Nov 23, 2021
Member
There was a problem hiding this comment.
I am still not convinced to fixing this issue for Field and for condition only as proposed by @samsouthardjr fix in #909. However the fix fixes the failing test.
869cd7c to
e23b926
Compare
d0348ec to
e75838e
Compare
Member
|
closing in favor of proper fix in #938 incl. test |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
check if needed once #938 is fixed, this PR changes does not help
steps to reproduce: