-
Notifications
You must be signed in to change notification settings - Fork 163
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
PgSql生成模板字段需要加上双引号 #5
Labels
question
Further information is requested
Comments
@fanslead OK,感谢提醒! |
pg 数据库建议使用蛇形 (snake_case) 命名规范, 不要区分大小写 |
昨天已经试过这种命名规范,执行sql依旧出现异常,只有用双引号包起来才能执行 |
@fanslead 可能是列中有关键字吧,要不就是 smart sql 的问题了 |
@Ahoo-Wang 数据库有问题? 更多的可能应该是 sql 的问题吧 |
@beginor 命名有可能有问题,就是你刚刚说的啊。 |
@Ahoo-Wang 这是sql脚本,我判断应该是pgsql的命名识别规则的原因。 |
@fanslead ok,感谢,晚上我来check一下。 |
@Ahoo-Wang OK,我把表字段改成纯小写命名吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由于PgSql的识别规则,sql语句中表字段需要用双引号包起来,否则执行语句是会异常。
最后生成应该要这样才行。
The text was updated successfully, but these errors were encountered: