例如 select * from table where id = 1; 其中table表中有一个日期字段需要在输出时转成string DATE_FORMAT(updateTime,'%Y-%m-%d %H:%i:%s') as updateTime 意思不用把每个字段都打出来,再对日期处理的方法 有没有别的方法???,如果字段多了比较麻烦,sql语句还会很长
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn