摘要:
mysql出现You can’t specify target table for update in FROM clause 这个错误的意思是不能在同一个sql语句中,先select同一个表的某些值,然后再update这个表。(不是同一个表可以) 然后执行将每个用户第一条消息的内容更新为Hello 阅读全文
摘要:
今天在本地测试启动项目的时候报错: Bean with name ‘commonService’ has been injected into other beans [] in its raw version as part of a circular reference, but has eve 阅读全文
摘要:
使用 order by 与limit 同时使用 数据出现重复 并丢失其他数据 使用了 下面的 方法 发现也没什么问题 Db::name('users')->where(['is_disabled'=>0])->field('id,nickname,team_son+team_grandson as 阅读全文