We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
单表查询db.camel() 后, 使用column("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%S') AS create_time1")后台无法执行, 被转义成了,d_a_t_e__f_o_r_m_a_t(create_time, "%_y-%m-%d %_h:%i:%_s") as create_time1
The text was updated successfully, but these errors were encountered:
camel会把column中所有的字符,从大写转为"_"+小写。 改成:column("date_format(create_time, '%Y-%m-%d %H:%i:%S') as create_time1"), 但是'%Y-%m-%d %H:%i:%S'这一段就没办法了,可以考虑检索出来后在格式化日期。
column("date_format(create_time, '%Y-%m-%d %H:%i:%S') as create_time1")
'%Y-%m-%d %H:%i:%S'
Sorry, something went wrong.
No branches or pull requests
单表查询db.camel() 后, 使用column("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%S') AS create_time1")后台无法执行, 被转义成了,d_a_t_e__f_o_r_m_a_t(create_time, "%_y-%m-%d %_h:%i:%_s") as create_time1
The text was updated successfully, but these errors were encountered: