SQL Chinese query cannot be found
胤蠡
胤蠡 2019-01-11 18:19:44
0
2
1272

Unsupported data expression: number

$res = Db::table('student')
->field(['id'=>'number','name '=>'Name'])
->where('id','=',2)
->find();
dump(is_null($res)?'Wood There is matching data':$res);

胤蠡
胤蠡

reply all(1)
胤蠡

$res = Db::table('student')
->field([
'id AS number',
'name AS name'
])
- >where('id','=',2)
->find(); Temporary solution

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template