Ungkapan data tidak disokong: nombor
$res = Db::table('pelajar') ->field(['id'=>'number','name'=>'name'] ) - >di mana('id','=',2) ->find();dump(is_null($res)?'Tiada data yang sepadan':$res);
$res = Db::table('pelajar') ->field([ 'id AS number', 'name AS name' ]) ->where('id','=', 2) ->cari();
$res = Db::table('pelajar')
->field([
'id AS number',
'name AS name'
])
->where('id','=', 2)
->cari();