Suggestion: Quote aliases only when it contains a space #61
Closed
RangelReale
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
I like the way the aliases work already. Chances are if a user is using an alias, they would prefer if it was "exact". Also, I prefer having a consistent behaviour regarding the quoting (or lack of it) to keep the mental overhead low for users and keep the code as simple and fast as possible. And if I had to choose between always quoting or not, I'll choose always quoting. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I can always put the "AS" clause in the table/column itself if I want unquoted, so there is a way if the user wants it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Explanation.
has this error:
Using lowercase for aliases and uses fixes this error, because the "default" is lowercase.
this one works.
I think aliases should be quoted by default only if they contain spaces, otherwise not.
Beta Was this translation helpful? Give feedback.
All reactions