修正MYSQL数据库UPDATE JOIN语句语法错误

JOIN应该在SET之前
This commit is contained in:
WeakSun
2016-07-01 13:33:42 +08:00
committed by GitHub
parent af0e1b2d65
commit bcf9215900

View File

@@ -18,6 +18,7 @@ use think\db\Builder;
*/
class Mysql extends Builder
{
protected $updateSql = 'UPDATE %TABLE% %JOIN% SET %SET% %WHERE% %ORDER%%LIMIT% %LOCK%%COMMENT%';
/**
* 字段和表名处理