easy-swoole / orm

31 stars 27 forks source link

field方法有Bug #204

Closed kyour-cn closed 3 years ago

kyour-cn commented 3 years ago

easyswoole框架版本号、orm组件版本号 [1.4.33]

问题描述和截图 [Question]

ExpressModel::create() ->field('id,status,explain') ->where(...) ->all();

执行报错,SQL: explain FROM express WHERE status = ? AND sid = ? 去掉explain字段则不会出现

liserven commented 3 years ago

关键字?

XueSiLf commented 3 years ago

关键字了,用 反引号 处理下