Nicht unterstützter Datenausdruck: Zahl
$res = Db::table('student') ->field(['id'=>'number','name'=>'name'] ) - >where('id','=',2) ->find();dump(is_null($res)?'Keine passenden Daten':$res);
$res = Db::table('student') ->field([ 'id AS 编号', 'name AS 姓名' ]) ->where('id','=',2) ->find(); 暂时解决
$res = Db::table('student')
->field([
'id AS 编号',
'name AS 姓名'
])
->where('id','=',2)
->find(); 暂时解决