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

Column alias containing dot has wrong quotation marks #224

Closed
radekdostal opened this issue Jun 21, 2016 · 1 comment
Closed

Column alias containing dot has wrong quotation marks #224

radekdostal opened this issue Jun 21, 2016 · 1 comment

Comments

@radekdostal
Copy link
Contributor

Is it error or feature?
If column alias contains the dot char, it has wrong quotation marks. For example:

->select('[no]', '[Č. p.]')
// or ->select('[no]')->as('[Č. p.]')
// or ->select('[no]')->as('%n', 'Č. p.')

produces

`no` AS `Č`.` p`.``

which ends with SQL error.

Workaround:

->select('[no]')->as('"Č. p."')

produces

`no` AS 'Č. p.'
@dg
Copy link
Owner

dg commented Jun 21, 2016

This cannot be fixed because it is intentional.

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

No branches or pull requests

2 participants