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

Support SQL that alias is the keyword #540

Closed
penggle opened this issue Jan 7, 2018 · 1 comment
Closed

Support SQL that alias is the keyword #540

penggle opened this issue Jan 7, 2018 · 1 comment

Comments

@penggle
Copy link

penggle commented Jan 7, 2018

select a.user_id userId, a.user_name userName, a.password password from t_user a where a.user_id = ?

其中password被重命名为password,为关键字,导致路由有问题,但是这样确是可以的:

select a.user_id userId, a.user_name userName, a.password "password" from t_user a where a.user_id = ?
haocao added a commit that referenced this issue Jan 16, 2018
terrymanu added a commit that referenced this issue Jan 16, 2018
terrymanu added a commit that referenced this issue Jan 16, 2018
terrymanu added a commit that referenced this issue Jan 16, 2018
terrymanu added a commit that referenced this issue Jan 16, 2018
terrymanu added a commit that referenced this issue Jan 16, 2018
haocao added a commit that referenced this issue Jan 17, 2018
haocao added a commit that referenced this issue Jan 18, 2018
haocao added a commit that referenced this issue Jan 18, 2018
haocao added a commit that referenced this issue Jan 18, 2018
@terrymanu terrymanu assigned terrymanu and unassigned haocao Feb 15, 2018
@terrymanu
Copy link
Member

fixed at 2.0.3

terrymanu added a commit that referenced this issue Feb 15, 2018
@terrymanu terrymanu changed the title select语句重名后的列为关键字时,导致路由不对 Support SQL that alias is the keyword Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants