Closed kyour-cn closed 3 years ago
ExpressModel::create() ->field('id,status,explain') ->where(...) ->all();
执行报错,SQL: explain FROM express WHERE status = ? AND sid = ? 去掉explain字段则不会出现
express
status
sid
关键字?
关键字了,用 反引号 处理下
easyswoole框架版本号、orm组件版本号 [1.4.33]
问题描述和截图 [Question]
ExpressModel::create() ->field('id,status,explain') ->where(...) ->all();
执行报错,SQL: explain FROM
express
WHEREstatus
= ? ANDsid
= ? 去掉explain字段则不会出现