taosdata / TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
https://tdengine.com
GNU Affero General Public License v3.0
23.38k stars 4.86k forks source link

数据库名、表名支持配置为默认自动添加反引号 #22426

Open Gerrit1999 opened 1 year ago

Gerrit1999 commented 1 year ago

Is your feature request related to a problem? Please describe. 在使用 IntelliJ 或 DBeaver 之类的数据库管理软件中,查询时如果表名包含大写字母,会出现表名不存在。

Describe your desired behavior 希望能够提供一个配置选项,让用户能够设置默认使用反引号将数据库名和表名括起来。

Describe your solutions/suggestions if you've any A clear and concise description of any solutions/suggestions to this problem or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

laisanshan commented 1 year ago

确实,本来已经用mybatis plus进行操作,有些sql因为没有单引号,导致得用jdbc直接执行