fix: 修复表字段有大小写情况下,返回结果被转成小写造成使用方不便的问题 #556
Open
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.
场景:
比如表有个字段userId, 通过KS获取,结果会返回userid。 线上部署使用的是KS, 而开发过程中,使用的是MySQL,这就造成了一个严重的问题, 开发和测试发现不了问题,一上线就炸了。
现象:
select * from xxx 的时候, 返回的字段是原始字段, 比如上面的 userId
select userId from xx 的时候, 返回的字段就被转小写的,比如上面的会返回 userid